Re: Loopback filesystem support?

2003-04-03 Thread Jeff Walters
On Thursday 03 April 2003 01:23 am, W. Sierke wrote:
 From: Rus Foster [EMAIL PROTECTED]

  Hi All,
   Does FreeBSD have any support for loopback filesystems. i.e. I mean
  being able to mount a file as a filesystem ala Linux. Googling didn't
  chuck back much and the nearest I found was mount_null. Is it possible?

 man vn
 man vnconfig
 /dev/vn*


See also:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-virtual.html

vnconfig goes away in favor of mdconfig in FreeBSD 5.0.

Jeff
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Loopback filesystem support?

2003-04-03 Thread Adam
On Thu, 2003-04-03 at 00:52, Rus Foster wrote:
 Hi All,
  Does FreeBSD have any support for loopback filesystems. i.e. I mean being
 able to mount a file as a filesystem ala Linux. Googling didn't chuck back
 much and the nearest I found was mount_null. Is it possible?

***
-$ man mount_null

MOUNT_NULL(8)   FreeBSD System Manager's Manual 
MOUNT_NULL(8)

NAME
 mount_null - mount a loopback filesystem sub-tree; demonstrate the
use of a null file system layer


BUGS
 THIS FILESYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T
WORK) AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.  USE AT
YOUR OWN RISK.  BEWARE OF DOG.  SLIPPERY WHEN WET.

 This code also needs an owner in order to be less dangerous -
serious hackers can apply by sending mail to [EMAIL PROTECTED] and
announcing their intent to take it over.



***


mount_null is all that exists for a loopback filesystem in FreeBSD
(afaik), and it does have many sharp edges (I actually once lost ~30gb
b/c of it). I'd avoid it at all costs. Try using symlinks instead, if
possible. 

-- 
Adam [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Loopback filesystem support?

2003-04-03 Thread Adam
On Thu, 2003-04-03 at 08:57, Jeff Walters wrote:
 See also:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-virtual.html
 
 vnconfig goes away in favor of mdconfig in FreeBSD 5.0.

Ah, I guess there is another solution other than mount_null .. My
mistake ..

-- 
Adam [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Loopback filesystem support?

2003-04-02 Thread Rus Foster
Hi All,
 Does FreeBSD have any support for loopback filesystems. i.e. I mean being
able to mount a file as a filesystem ala Linux. Googling didn't chuck back
much and the nearest I found was mount_null. Is it possible?

Rgds

Rus

--
www: http://www.65535.net   | More bits for your byte
community: http://www.65535.org | MSNM: [EMAIL PROTECTED]
e: [EMAIL PROTECTED]   | Hosting - Shell Accounts
t: +44 (0) 7092016595   | Virtual Servers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Loopback filesystem support?

2003-04-02 Thread W. Sierke
From: Rus Foster [EMAIL PROTECTED]
 Hi All,
  Does FreeBSD have any support for loopback filesystems. i.e. I mean being
 able to mount a file as a filesystem ala Linux. Googling didn't chuck back
 much and the nearest I found was mount_null. Is it possible?

man vn
man vnconfig
/dev/vn*

e.g.:

# vnconfig -c vn0 file.iso  mount_cd9660 /dev/vn0 /mnt
...
# umount /mnt  vnconfig -u vn0


Wayne

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]