home *** CD-ROM | disk | FTP | other *** search
- /**
- * File:
- * etc_crytotab.scr
- * Summary:
- * SCR Agent for reading/writing /etc/cryptotab
- * Access:
- * read/write
- * Authors:
- * Johannes Buchhold <jbuch@suse.de>
- * See:
- * anyagent
- * man mount
- * Example:
- * Original /etc/cypthotab:
- * /dev/loop0 /dev/hda3 /abuild reiserfs twofish noatime
- * /dev/loop1 /tmp/cryptfile /mnt ext2 twofish noatime
- * ...
- *
- * Read(.etc.cryptotab)
- * ([$["file":"/dev/hda3", "loop":"/dev/loop0",
- * "vfstype":"reiserfs", "mount":"/abuild", "opt1":"twofish" ,
- * "opt2", "noatime" ]
- * ...
- * ])
- *
- *
- * (0)
- *
- * $Id: etc_cryptotab.scr 13018 2003-12-11 12:52:53Z jhumpol $
- *
- */
- .etc.cryptotab
-
- `ag_anyagent(
- `Description (
- (`File("/etc/cryptotab")), // real file name
- "#\n", // Comment
- false, // read-only
- (`List (
- `Tuple (
- `loop (`String("^\t ")),
- `Separator ("\t "),
- `file (`String("^\t ")),
- `Separator ("\t "),
- `mount (`String("^\t ")),
- `Separator ("\t "),
- `vfstype (`String("^\t ")),
- `Separator ("\t "),
- `opt1 (`String("^\t ")),
- `Separator ("\t "),
- `opt2 (`String("^ \t\n"))
- ),
- "\n"
- ))
- )
- )
-