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

Re: Loop FS help please.



John Summerfield wrote:
Tim Evans wrote:
clemens dwf com 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 coco merseine nu  Z1aaaaaaa coco merseine nu
-- 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:-)


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