Hi, i'm newbee
looks great, the kernel from Marvell doesnt support NFS & usb-automount (when i plug a usb stick or USB-HD , always need to mount it manually)
my Questions:
1. does the new kernel support automount ? since i want to use the plug as a Fileserver with attached USB-HDs (which are on only when needed , so it should me automatically mouted in /media, samba & nfs need only share on /media)
2. can you add support for hfs/hfsplus ?
thanx alot
The kernel will not ever automount anything for you, and even the rootfs "mount" that the kernel performs at boot time will do bad things if a mount command is not executed to formally mount the root filesystem. Mounting is an operation that links a kernelspace filesystem driver to a userspace mountpoint, and it must be initiated from userspace.
As for automounting, as has been suggested, the best approach is probably to use udev and write custom rules for when a drive is connected. The kernel, as a shortcut, calls udev scripts when certain kernel events occur, and udev can automatically make the kernel event into a userspace event, whether that event is creating a folder in /media to show that a filesystem can be mounted, or, in your case, actually mounting a filesystem there. You would probably also need it to somehow notify a management application that the drive has been mounted.