OT?: non-root use of mount to loop mount filesystem images?
Nathanael D. Noblet
nathanael at gnat.ca
Wed Oct 19 00:29:22 UTC 2005
On Tue, 2005-10-18 at 17:06 -0700, Joseph M Dupre (AVAB Inc.) wrote:
> I hope this isn't too far off topic. I figure some of you may have
> attacked this issue before:
>
> Does anyone know how (or if it is even possible) to allow a non-root
> user to configure and mount a loop device to whatever mount point
> they choose?
>
> On my development machine I typically do not login as root for the
> obvious reasons. But to mount a filesystem image with the command
> below I have to be root:
>
> # mount -o loop=/dev/loop0 rootfs.image /some/mount/point
>
> I'd rather not have to 'su' everytime I need to mount a device.
The only thing I can think of is sudo which allows you to run the mount
command with root privileges, without becoming root...
--
Nathanael D. Noblet
Gnat Solutions, Inc
http://www.gnat.ca/
T 250.385.4613
C 250.383.4613
More information about the uClibc
mailing list