Re: [PATCH] Remove references to ramdisk* in rc.conf(5)

2010-11-21 Thread Doug Barton
this feature either, so feel free to MFC. Doug On 11/12/2010 17:19, Garrett Cooper wrote: Hi, ramdisk* hasn't been in place for quite a while now (I think since the 5.x days when the mdconfig scripts were created). Could someone please review and potentially commit this manpage update to remove

[PATCH] Remove references to ramdisk* in rc.conf(5)

2010-11-12 Thread Garrett Cooper
Hi, ramdisk* hasn't been in place for quite a while now (I think since the 5.x days when the mdconfig scripts were created). Could someone please review and potentially commit this manpage update to remove the ramdisk* references from rc.conf(5)? Thanks! -Garrett Index: share/man/man5/rc.conf

Re: [PATCH] Remove references to ramdisk* in rc.conf(5)

2010-11-12 Thread Doug Barton
If you want review for rc.d related stuff freebsd-rc@ is your best bet. Meanwhile, this patch is fine, thanks for taking the time to look at it. AFAICS neither 8 nor 7 has this feature either, so feel free to MFC. Doug On 11/12/2010 17:19, Garrett Cooper wrote: Hi, ramdisk* hasn't

Re: Ramdisk support

2006-11-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Aditya Godbole [EMAIL PROTECTED] writes: : Is there any ramdisk support in freebsd, as there is in netbsd? If : there is no such functionality right now, is anyone working on it? : What are the alternatives if I want to mount a root filesytem from ram

Re: Ramdisk support

2006-11-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Oliver Fromme [EMAIL PROTECTED] writes: : Aditya Godbole wrote: : Oliver Fromme wrote: :I don't know u-boot. What is that? : : u-boot is a bootloader popular in embedded systems. : Its often used with Linux. : : I see. Is it PXE-compliant?

Re: Ramdisk support

2006-11-24 Thread Aditya Godbole
On 11/25/06, M. Warner Losh [EMAIL PROTECTED] wrote: Sounds like you have an interesting FreeBSD port going on here. Sorry I answered 9 days after you asked your question, I'm behind on -hackers. What are you porting FreeBSD to? I'm porting it to the MPC8555CDS which has a e500 ppc core.

Re: FreeBSD and U-Boot -- was: Ramdisk support

2006-11-22 Thread wd
in context: http://www.nabble.com/Ramdisk-support-tf2634378.html#a7488058 Sent from the freebsd-hackers mailing list archive at Nabble.com. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Ramdisk support

2006-11-16 Thread Aditya Godbole
On 11/15/06, Oliver Fromme [EMAIL PROTECTED] wrote: You can also put the image of the root file system into the kernel itself, so it doesn't have to be loaded separately. The kernel option to allocate appropriate space is called MD_ROOT_SIZE. Thanks. I'm investigating this option. How do I

Re: Ramdisk support

2006-11-16 Thread Oliver Fromme
Aditya Godbole wrote: Oliver Fromme wrote: You can also put the image of the root file system into the kernel itself, so it doesn't have to be loaded separately. The kernel option to allocate appropriate space is called MD_ROOT_SIZE. Thanks. I'm investigating this option. How do

Re: Ramdisk support

2006-11-16 Thread Aditya Godbole
On 11/16/06, Oliver Fromme [EMAIL PROTECTED] wrote: You don't. It's not necessary. MD_ROOT_SIZE only reserves space in the kernel image. Then you can use strings(1) to find the offset in the kernel image, and then write your image into the reserved space with standard shell tools. Thanks

Re: Ramdisk support

2006-11-16 Thread Oliver Fromme
Aditya Godbole wrote: Oliver Fromme wrote: I don't know u-boot. What is that? u-boot is a bootloader popular in embedded systems. Its often used with Linux. I see. Is it PXE-compliant? If so, you can use FreeBSD's PXE bootloader (/boot/pxeboot) for loading the kernel. In that case

Re: Ramdisk support

2006-11-16 Thread Aditya Godbole
On 11/16/06, Oliver Fromme [EMAIL PROTECTED] wrote: I see. Is it PXE-compliant? If so, you can use FreeBSD's PXE bootloader (/boot/pxeboot) for loading the kernel. In that case you can also load the root FS image as a separate file, so there is no need to hack it into the kernel binary.

Re: Ramdisk support

2006-11-16 Thread Gary Jennejohn
Aditya Godbole writes: On 11/16/06, Oliver Fromme [EMAIL PROTECTED] wrote: I see. Is it PXE-compliant? If so, you can use FreeBSD's PXE bootloader (/boot/pxeboot) for loading the kernel. In that case you can also load the root FS image as a separate file, so there is no need to hack

FreeBSD and U-Boot -- was: Ramdisk support

2006-11-16 Thread Rafal Jaworowski
Gary Jennejohn wrote: u-boot is unfortuately extremely Linux-centric. I work closely with the person who invented u-boot, Wolfgang Denk, and know that he'd just love to see the *BSD support improved. Unfortunately, u-boot makes heavy use of Linux' support for rootdev, etc., which AFAIK is

Re: Ramdisk support

2006-11-15 Thread Aditya Godbole
On 11/15/06, Kris Kennaway [EMAIL PROTECTED] wrote: What are the alternatives if I want to mount a root filesytem from ram? man mdconfig I'm sorry, I couldn't quite get what I was looking for from the manpage. How do I use mdconfig to mount the root filesystem? -- aditya

Re: Ramdisk support

2006-11-15 Thread Kris Kennaway
On Wed, Nov 15, 2006 at 01:35:14PM +0530, Aditya Godbole wrote: On 11/15/06, Kris Kennaway [EMAIL PROTECTED] wrote: What are the alternatives if I want to mount a root filesytem from ram? man mdconfig I'm sorry, I couldn't quite get what I was looking for from the manpage. How do I

Re: Ramdisk support

2006-11-15 Thread Oliver Fromme
Aditya Godbole wrote: Is there any ramdisk support in freebsd, as there is in netbsd? Sure. To mount a 200 MB swap-backed memory filesystem on /tmp, add this lie to /etc/fstab: md /tmp mfs rw,async,nosuid,-s200m,-m0 0 0 What are the alternatives if I want to mount a root

Re: Ramdisk support

2006-11-15 Thread Aditya Godbole
On 11/15/06, Oliver Fromme [EMAIL PROTECTED] wrote: Aditya Godbole wrote: Is there any ramdisk support in freebsd, as there is in netbsd? What are the alternatives if I want to mount a root filesytem from ram? You mean a diskless setup? I think there's a detailed description of diskless

Re: Ramdisk support

2006-11-15 Thread Ruslan Ermilov
On Wed, Nov 15, 2006 at 05:25:36PM +0530, Aditya Godbole wrote: On 11/15/06, Oliver Fromme [EMAIL PROTECTED] wrote: Aditya Godbole wrote: Is there any ramdisk support in freebsd, as there is in netbsd? What are the alternatives if I want to mount a root filesytem from ram? You mean

Re: Ramdisk support

2006-11-15 Thread Oliver Fromme
Aditya Godbole wrote: Oliver Fromme wrote: Aditya Godbole wrote: Is there any ramdisk support in freebsd, as there is in netbsd? What are the alternatives if I want to mount a root filesytem from ram? You mean a diskless setup? I think there's a detailed description

Ramdisk support

2006-11-14 Thread Aditya Godbole
Hi, Is there any ramdisk support in freebsd, as there is in netbsd? If there is no such functionality right now, is anyone working on it? What are the alternatives if I want to mount a root filesytem from ram? Thanks. -- aditya ___ freebsd-hackers

Re: Ramdisk support

2006-11-14 Thread Kris Kennaway
On Wed, Nov 15, 2006 at 12:35:06PM +0530, Aditya Godbole wrote: Hi, Is there any ramdisk support in freebsd, as there is in netbsd? If there is no such functionality right now, is anyone working on it? What are the alternatives if I want to mount a root filesytem from ram? man mdconfig Kris

Re: ramdisk??

2003-06-10 Thread Marc Fonvieille
On Mon, Jun 09, 2003 at 01:16:26PM -0400, [EMAIL PROTECTED] wrote: (sorry about cross-posting this question. not sure which list is better) I want to to know how to create a ram file system for /var and /tmp so that i can boot from flash memory and mount those two file systems on ramfs. I've

Re: ramdisk??

2003-06-10 Thread Terry Lambert
Ted Faber wrote: On Mon, Jun 09, 2003 at 01:16:26PM -0400, [EMAIL PROTECTED] wrote: (sorry about cross-posting this question. not sure which list is better) I want to to know how to create a ram file system for /var and /tmp so that i can boot from flash memory and mount those two file

Re: ramdisk??

2003-06-10 Thread Ted Faber
On Tue, Jun 10, 2003 at 04:21:31AM -0700, Terry Lambert wrote: Ted Faber wrote: I mount a swap backed fs (which I what I suspect you want) with: I don't think he wants swap backing; I'm going to be that his system will have no swap, in order to avoid write cycles using up his flash... he

ramdisk??

2003-06-09 Thread romero3000
(sorry about cross-posting this question. not sure which list is better) I want to to know how to create a ram file system for /var and /tmp so that i can boot from flash memory and mount those two file systems on ramfs. I've looked for howto's online but haven't found anything. any

Re: ramdisk??

2003-06-09 Thread Ted Faber
On Mon, Jun 09, 2003 at 01:16:26PM -0400, [EMAIL PROTECTED] wrote: (sorry about cross-posting this question. not sure which list is better) I want to to know how to create a ram file system for /var and /tmp so that i can boot from flash memory and mount those two file systems on ramfs. I've

Re: ramdisk??

2003-06-09 Thread Joshua Oreman
On Mon, Jun 09, 2003 at 11:04:52AM -0700 or thereabouts, Ted Faber seemed to write: On Mon, Jun 09, 2003 at 01:16:26PM -0400, [EMAIL PROTECTED] wrote: (sorry about cross-posting this question. not sure which list is better) I want to to know how to create a ram file system for /var and

Re: ramdisk??

2003-06-09 Thread Juli Mallett
* Joshua Oreman [EMAIL PROTECTED] [ Date: 2003-06-09 ] [ w.r.t. Re: ramdisk?? ] On Mon, Jun 09, 2003 at 11:04:52AM -0700 or thereabouts, Ted Faber seemed to write: On Mon, Jun 09, 2003 at 01:16:26PM -0400, [EMAIL PROTECTED] wrote: (sorry about cross-posting this question. not sure

Re: ramdisk??

2003-06-09 Thread Ted Faber
On Mon, Jun 09, 2003 at 11:11:32AM -0700, Joshua Oreman wrote: On Mon, Jun 09, 2003 at 11:04:52AM -0700 or thereabouts, Ted Faber seemed to write: On Mon, Jun 09, 2003 at 01:16:26PM -0400, [EMAIL PROTECTED] wrote: (sorry about cross-posting this question. not sure which list is better)

Re: ramdisk??

2003-06-09 Thread Ted Faber
On Mon, Jun 09, 2003 at 01:14:18PM -0500, Juli Mallett wrote: On Mon, Jun 09, 2003 at 11:04:52AM -0700 or thereabouts, Ted Faber seemed to write: I mount a swap backed fs (which I what I suspect you want) with: Or if you don't need a disklabel and all that, you could just look at using

Re: ramdisk??

2003-06-09 Thread Doug White
On Mon, 9 Jun 2003 [EMAIL PROTECTED] wrote: (sorry about cross-posting this question. not sure which list is better) I want to to know how to create a ram file system for /var and /tmp so that i can boot from flash memory and mount those two file systems on ramfs. I've looked for howto's

a 250Meg ramdisk

2002-03-21 Thread mwest
Hi, Would anyone know if how to pre-load modules of type `md_image' is documented anywhere? I'm trying to create a 250Meg ramdisk , but have only managed one of 10 Meg so far . So far what I can surmise is that it has to be done in loader.conf: 1) Setting [mfs_load=NO] to YES 2) Somehow

Re: a 250Meg ramdisk

2002-03-21 Thread Terry Lambert
mwest wrote: Would anyone know if how to pre-load modules of type `md_image' is documented anywhere? I'm trying to create a 250Meg ramdisk , but have only managed one of 10 Meg so far . So far what I can surmise is that it has to be done in loader.conf: 1) Setting [mfs_load

Re: Large /dev/md0 ramdisk

2001-08-14 Thread Mike Meyer
Andrew J Caines [EMAIL PROTECTED] types: From what I've read, md is a better way of going than mfs. I have seen several references to md being preferred to mfs but have been unable to find any detailed comparison or evaluation. To what reference were you referring? md and mfs have two

Re: Large /dev/md0 ramdisk

2001-08-14 Thread David O'Brien
On Tue, Aug 14, 2001 at 07:18:27AM -0500, Mike Meyer wrote: There has been talk of a make and mount command for md that would work like mount_md, but it doesn't appear to have materialized yet. man mdmfs To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the

Re: Large /dev/md0 ramdisk

2001-08-14 Thread Robert J. Adams
: Re: Large /dev/md0 ramdisk Andrew J Caines [EMAIL PROTECTED] types: From what I've read, md is a better way of going than mfs. I have seen several references to md being preferred to mfs but have been unable to find any detailed comparison or evaluation. To what reference were you

Large /dev/md0 ramdisk

2001-08-13 Thread Robert J. Adams
Hello, I have a need for a rather large ramdisk. From what I've read, md is a better way of going than mfs. I don't want this to be able to swap out. So far I'm having trouble getting md to store anything larger than ~90meg .. OS: FBSD 4.3-S relevant kernel config: options MD_NSECT

Re: Large /dev/md0 ramdisk

2001-08-13 Thread Andrew J Caines
Robert, Please forgive me not answering your question, but just responding to an issue you've raised. From what I've read, md is a better way of going than mfs. I have seen several references to md being preferred to mfs but have been unable to find any detailed comparison or evaluation. To

Re: /tmp on a ramdisk?

2000-08-11 Thread Nicole Harrington.
forgive my late reply.. Just trying to catch up.. Given all of the above statements, why does BSD/OS (at least on 4.0 and 4.1) want to set up tmp as a Ramdisk? I don't even think there is a way around it during the install. Nicole To Unsubscribe: send mail to [EMAIL PROTECTED

Re: /tmp on a ramdisk?

2000-07-30 Thread Adam
On Fri, 28 Jul 2000, Doug Barton wrote: Ted Sikora wrote: A while ago several people suggested using /tmp on a ramdisk along with softupdates. Right now I am running several production servers with 4.1-STABLE with softupdates. I'm really happy with the performance. What benefits would I

Re: /tmp on a ramdisk?

2000-07-30 Thread Neil Blakey-Milner
On Fri 2000-07-28 (17:23), Doug Barton wrote: Ted Sikora wrote: A while ago several people suggested using /tmp on a ramdisk along with softupdates. Right now I am running several production servers with 4.1-STABLE with softupdates. I'm really happy with the performance. What benefits

Re: /tmp on a ramdisk?

2000-07-30 Thread Doug Barton
Adam wrote: On Fri, 28 Jul 2000, Doug Barton wrote: Ted Sikora wrote: A while ago several people suggested using /tmp on a ramdisk along with softupdates. Right now I am running several production servers with 4.1-STABLE with softupdates. I'm really happy with the performance. What

Re: /tmp on a ramdisk?

2000-07-30 Thread Adam
On Sun, 30 Jul 2000, Doug Barton wrote: Adam wrote: On Fri, 28 Jul 2000, Doug Barton wrote: Ted Sikora wrote: A while ago several people suggested using /tmp on a ramdisk along with softupdates. Right now I am running several production servers with 4.1-STABLE with softupdates. I'm

Re: /tmp on a ramdisk?

2000-07-30 Thread Brian Fundakowski Feldman
The issue is that mount_mfs is simply newfs with a catch: it constructs the new filesystem completely in memory and lives on as the storage for the mounted filesystem. If you view the processes on a system using MFS, you will notice that one of them is the original mount_mfs, having become a

Re: /tmp on a ramdisk?

2000-07-30 Thread Michael Bacarella
On Sun, 30 Jul 2000, Brian Fundakowski Feldman wrote: Yes, things are stored twice in memory: once in the buffer cache and once in the MFS process. Yes, they are also copied multiple times. MFS simply can't perform as well as you might expect. The malloc disk device can because it simply

Re: /tmp on a ramdisk?

2000-07-30 Thread Brian Fundakowski Feldman
On Sun, 30 Jul 2000, Michael Bacarella wrote: This is more out of curiousity than criticism; ..but why not just make a charecter device that corresponds to a chunk of VM and simply run newfs on that? You would still have a relatively proven filesystem (like FFS) and you also get the

Re: /tmp on a ramdisk?

2000-07-30 Thread Jordan K. Hubbard
MD has supplanted MFS, it doesn't run in conjunction with it. Just consider MD the new name for MFS if it makes it easier. - Jordan On Fri 2000-07-28 (17:23), Doug Barton wrote: Ted Sikora wrote: A while ago several people suggested using /tmp on a ramdisk along with softupdates

Re: /tmp on a ramdisk?

2000-07-30 Thread Poul-Henning Kamp
In message 41777.964992152@localhost, "Jordan K. Hubbard" writes: MD has supplanted MFS, it doesn't run in conjunction with it. Just consider MD the new name for MFS if it makes it easier. Not *quite* true. MD and VN has supplanted MFS. For "boot with this ram-disk" it's MD, for "put my /tmp

Re: /tmp on a ramdisk?

2000-07-28 Thread Doug Barton
Ted Sikora wrote: A while ago several people suggested using /tmp on a ramdisk along with softupdates. Right now I am running several production servers with 4.1-STABLE with softupdates. I'm really happy with the performance. What benefits would I realize using /tmp on a ramdisk