Mounting a drive - not using fstab or root

David Ryder davaweb at bigpond.net.au
Wed May 28 00:27:12 BST 2008


Hi,
HARDY
I have a drive which at various times in the day and week, I want to
mount/umount, via cron and a script, in /media or another
folder /media/this-drive-folder/. Because I want to use different
folders at different mount times (for valid business reasons) the drive
can not be in fstab, as I understand it, because then I would not have
the choice of which folder to mount it in.

But - mount wants root only to mount. I think users can mount fstab
drives if noauto, user (or suid using sudoers?) are used but that does
not overcome my mount location needs.

So, the crux of all this is, is it possible to mount an ntfs drive that
is not in fstab, as a user in a script, without needing sudo?

Thanks,
David





More information about the ubuntu-au mailing list