Patent attributes
Techniques for providing write-once-read-many (WORM) storage are described herein. According to one embodiment, in response to a command to set a time attribute of a file to a first predetermined value, it is determined whether the first predetermined value is outside of an ordinary range of values associated with the time attribute in accordance with a file system associated with the file. The file is designated as a WORM file and a WORM retention period is set for the file based on the first predetermined value, if the first predetermined value is outside of an ordinary range of values associated with the time attribute. The designation of the file as a WORM file and setting the WORM retention period are performed in response to the command.