Memory disk a la mfsroot?

2010-02-11 Thread Pierre-Luc Drouin
Hi, I would like to know if there is a mount command that allows to create a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F, but that does not modify the actual file. I know what I could easily to this by copying the content of the file

Re: Memory disk a la mfsroot?

2010-02-11 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2010 14:53, Pierre-Luc Drouin wrote: I would like to know if there is a mount command that allows to create a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F, but that does not modify

Re: Memory disk a la mfsroot?

2010-02-11 Thread Pierre-Luc Drouin
Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2010 14:53, Pierre-Luc Drouin wrote: I would like to know if there is a mount command that allows to create a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F

Re: Memory disk a la mfsroot?

2010-02-11 Thread RW
On Thu, 11 Feb 2010 15:12:22 + Matthew Seaman m.sea...@infracaninophile.co.uk wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2010 14:53, Pierre-Luc Drouin wrote: I would like to know if there is a mount command that allows to create a memory disk that can

Re: Memory disk a la mfsroot?

2010-02-11 Thread Matthew Seaman
a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F, but that does not modify the actual file. I know what I could easily to this by copying the content of the file to the memory disk, but I am looking for a solution that can be configured via fstab

Re: Memory disk a la mfsroot?

2010-02-11 Thread Pierre-Luc Drouin
if there is a mount command that allows to create a memory disk that can be initialized from a file. What I am looking for is something like mount_mfs -F, but that does not modify the actual file. I know what I could easily to this by copying the content of the file to the memory disk, but I am looking

Re: Memory disk a la mfsroot?

2010-02-11 Thread Matthew Seaman
operations as far as I can see. By this do you mean that I would need to copy the whole content of the read-only filesystem to the memory disk? Yes. I looked at the man page for mount_unionfs and there is a big warning saying that it is a bad idea to use it, so I guess I will pass

Re: Memory disk a la mfsroot?

2010-02-11 Thread Pierre-Luc Drouin
as two separate operations as far as I can see. By this do you mean that I would need to copy the whole content of the read-only filesystem to the memory disk? Yes. I looked at the man page for mount_unionfs and there is a big warning saying that it is a bad idea to use it, so

increasing the size of a memory disk

2007-06-28 Thread Dave
Hello, I've got a memory disk that i made and now i have to increase it's size so i can add about 3 megabytes more information on to it. I'd rather not have to remake it. Is there a way i can use something to increase it's size without destroying/remaking it? Thanks. Dave

Re: Best Way to Mount a File-Backed Memory Disk at Boot-Time?

2005-11-08 Thread David Marshall
FYI, it is a convenient property of mount_mfs that it will do a newfs on your file-backed memory store upon mounting it. I understand that a new parameter has been added in -CURRENT recently to have it preserve the contents of the file-backed memory disk. Caveat mounter! On 10/9/05, Glenn

Best Way to Mount a File-Backed Memory Disk at Boot-Time?

2005-10-09 Thread David Marshall
Hi, I've got a system with a file-backed memory disk that needs to be run through mdconfig and then mounted at boot-time? What's the best way to do this? Is putting a script into /usr/local/etc/rc.d the best? TIA! ___ freebsd-questions@freebsd.org

Re: Best Way to Mount a File-Backed Memory Disk at Boot-Time?

2005-10-09 Thread Glenn Dawson
At 06:16 PM 10/9/2005, David Marshall wrote: Hi, I've got a system with a file-backed memory disk that needs to be run through mdconfig and then mounted at boot-time? What's the best way to do this? Is putting a script into /usr/local/etc/rc.d the best? make an entry in fstab that looks

memory disk and fstab

2005-02-28 Thread Daniel Gerzo
Hi questions, may i ask, what should i add to my /etc/fstab, when i want to get the same functionality as this command gives me ? mdmfs -M -s 3m -w root:www -p 770 -onosuid,nodev,noexec,noatime md0 /tmp/sessions well, i tried something like: md /tmp/sessions mfs

any utility to discover specs of host? (cpu, memory, disk)

2003-07-30 Thread jesse reynolds
Hi Does anyone know of any utility to discover the hardware specs of a freebsd host? dmesg has lost the initial boot information and the box was booted ages ago so the startup messages have been lost with messages file rotation it seems. thankyou jesse -- ::: Jesse Reynolds +61 (0)414

RE: any utility to discover specs of host? (cpu, memory, disk)

2003-07-30 Thread Derrick Ryalls
Does anyone know of any utility to discover the hardware specs of a freebsd host? dmesg has lost the initial boot information and the box was booted ages ago so the startup messages have been lost with messages file rotation it seems. %more /usr/var/run/dmesg.boot

PICOBSD /dev/mdxx memory disk problems

2003-03-28 Thread Hartmann, O.
tries to check it, it gets an error. I have a similar error on diskless boot process in FreeBSD 5.0-CURRENT, where obviously no memory disk can be created. Can someon verify or falsify these oberservations? Thanks a lot ... Oliver -- MfG O. Hartmann [EMAIL PROTECTED

Memory disk

2003-02-12 Thread Steve Bertrand
I have built quite a few FBSD-ipfw routers/bridges the last while, and now I want to take it to the next level. I would like to copy an entire FreeBSD install to CD and then do the following: - Boot from external media and create a 2GB memory disk - Copy the contents of the entire FreeBSD

Re: Memory disk

2003-02-12 Thread Walter
Steve Bertrand wrote: The reason for this is so I can make my boxes much smaller and much faster (no hdd i/o). 1. Is it possible to do a custom r/o install of Free onto a CD? 2. Is it possible to run FreeBSd out of memory with no hdd? This is a novice wondering out loud: To keep things small,

Re: Memory disk

2003-02-12 Thread benjamin everist
Steve Bertrand wrote: 1. Is it possible to do a custom r/o install of Free onto a CD? 2. Is it possible to run FreeBSd out of memory with no hdd? possibly try this article: http://www.bsdtoday.com/2002/March/Features646.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: Memory disk

2003-02-12 Thread Warren Block
On Wed, 12 Feb 2003, Steve Bertrand wrote: 1. Is it possible to do a custom r/o install of Free onto a CD? 2. Is it possible to run FreeBSd out of memory with no hdd? Yes, see these resources: man picobsd http://www.freesbie.org -Warren Block * Rapid City, South Dakota USA To Unsubscribe:

Re: Memory disk

2003-02-12 Thread taxman
Ok, I'll try to answer both all in one go. hopefully others will turn up good links. googling for some of the ideas I'm mentioning will be your friend On Wednesday 12 February 2003 10:19 pm, Walter wrote: Steve Bertrand wrote: The reason for this is so I can make my boxes much smaller and