Re: Loop FS help please.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Summerfield wrote:
Tim Evans wrote:
clemens@xxxxxxx wrote:


to get it right.

mount -o ro,loop /path/to/iso /path/to/mount-point

This man wins the prize!


Advances users might try something like this:

09:42 [summer@bilby ~]$ cat /etc/auto.misc | egrep '^[a-z]'
cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
js    ns:/home/users/summer
usbdisk :/dev/sda1
fc6-src-1 -fstype=auto,ro,loop,nosuid,nodev :/net/ns/var/local/mirrors/linux/Fedora/6/source/FC-6-SRPMS-disc1.iso fc6-src-2 -fstype=auto,ro,loop,nosuid,nodev :/net/ns/var/local/mirrors/linux/Fedora/6/source/FC-6-SRPMS-disc2.iso fc6-src-3 -fstype=auto,ro,loop,nosuid,nodev :/net/ns/var/local/mirrors/linux/Fedora/6/source/FC-6-SRPMS-disc3.iso fc6-src-4 -fstype=auto,ro,loop,nosuid,nodev :/net/ns/var/local/mirrors/linux/Fedora/6/source/FC-6-SRPMS-disc4.iso
09:42 [summer@bilby ~]$ rpm -qf /etc/auto.misc
autofs-4.1.3-187

Beware of linewrap.
Note that these specific examples require that /etc/auto.master enables /etc/auto.net

Putting an entry in /etc/fstab works too, and properly crafted does not require a user to be root.


--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux