[desktop-discuss] Automount - Can be be configured for other file systems ?
Artem Kachitchkine
Artem.Kachitchkin at Sun.COM
Wed Oct 17 15:53:57 PDT 2007
Uwe Dippel wrote:
> Having a lot of my data on ext3 (removable drives), I can mount and unmount the file systems.
> So far so good. Until now, I have added a lot of scripts that I call for mounting/unmounting those partitions. Cumbersome.
> When I add a removable drive with a 'known' file system, the automounter chips in. Not so with ext3, NTFS.
> Is there a chance to add ext2fs, ntfs to the 'known' file systems, to be mounted automatically ?
Adding fstyp modules for these filesystems should make them 'known' to
HAL-based volume managers.
$ ls /usr/lib/fs/*/fstyp.so.1
/usr/lib/fs/hsfs/fstyp.so.1 /usr/lib/fs/ufs/fstyp.so.1
/usr/lib/fs/pcfs/fstyp.so.1 /usr/lib/fs/zfs/fstyp.so.1
/usr/lib/fs/udfs/fstyp.so.1
Module API is in /usr/include/libfstyp_module.h
Example
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/fs.d/zfs/fstyp/fstyp.c
-Artem
More information about the desktop-discuss
mailing list