linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Creating RAM disks as a non root user.
@ 2003-02-04  2:00 Rod Boyce
  2003-02-04  2:14 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Rod Boyce @ 2003-02-04  2:00 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


All,

I've got to create a RAM disk for our new system.  I've found this little
utility called genext2fs the web site is
http://sourceforge.net/projects/genext2fs/
<http://sourceforge.net/projects/genext2fs/>  but my question.
What do other people use to do this? Why should I have to become the root
user just to create a RAM disk I can do everything else without becoming
root on my development machine.  I would like to be able to make this next
step as well.


Regards,
Rod Boyce.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Creating RAM disks as a non root user.
@ 2003-02-04  2:03 James Don
  0 siblings, 0 replies; 7+ messages in thread
From: James Don @ 2003-02-04  2:03 UTC (permalink / raw)
  To: 'Rod Boyce',
	'linuxppc-embedded@lists.linuxppc.org'


I think in DENX new ELDK they may use what you just found ... but in older
versions of SELF you must become root user like you say ...

Jim

-----Original Message-----
From: Rod Boyce [mailto:rod_boyce@stratexnet.com]
Sent: Monday, February 03, 2003 9:01 PM
To: 'linuxppc-embedded@lists.linuxppc.org'
Subject: Creating RAM disks as a non root user.


All,

I've got to create a RAM disk for our new system.  I've found this little
utility called genext2fs the web site is
http://sourceforge.net/projects/genext2fs/
<http://sourceforge.net/projects/genext2fs/>  but my question.
What do other people use to do this? Why should I have to become the root
user just to create a RAM disk I can do everything else without becoming
root on my development machine.  I would like to be able to make this next
step as well.


Regards,
Rod Boyce.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Creating RAM disks as a non root user.
@ 2003-02-04 16:30 Kerl, John
  0 siblings, 0 replies; 7+ messages in thread
From: Kerl, John @ 2003-02-04 16:30 UTC (permalink / raw)
  To: 'Rod Boyce',
	'linuxppc-embedded@lists.linuxppc.org'


For me, this is the only step at which I need to be root.
If there's a way around it, I haven't bothered to find it.

-----Original Message-----
From: Rod Boyce [mailto:rod_boyce@stratexnet.com]
Sent: Monday, February 03, 2003 7:01 PM
To: 'linuxppc-embedded@lists.linuxppc.org'
Subject: Creating RAM disks as a non root user.



All,

I've got to create a RAM disk for our new system.  I've found this little
utility called genext2fs the web site is
http://sourceforge.net/projects/genext2fs/
<http://sourceforge.net/projects/genext2fs/>  but my question.
What do other people use to do this? Why should I have to become the root
user just to create a RAM disk I can do everything else without becoming
root on my development machine.  I would like to be able to make this next
step as well.


Regards,
Rod Boyce.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Creating RAM disks as a non root user.
@ 2003-02-04 21:24 Jean-Denis Boyer
  2003-02-04 21:52 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Jean-Denis Boyer @ 2003-02-04 21:24 UTC (permalink / raw)
  To: Rod Boyce; +Cc: LinuxPPC-Embedded


Here is the recipe we use to mount ramdisk images without being a root user.

First, there must be an entry (one per user) in /etc/fstab, like the following:

 /home/jdboyer/initrd_lnk /home/jdboyer/mnt auto noauto,loop,user,rw 0 0

where 'initrd_lnk' is a soft-link to the file to mount through the loop device,
and 'mnt' is the mount point. These informations can NOT be modified by the user.

Note that the option 'user' in fstab allows any user to mount/unmount this specific entry.

Then, we can mount a ramdisk image that is located anywhere,
by first modifying the soft link, and then mounting 'mnt'.
You can either create new ramdisk images, or mount already existing ones (very useful!).

Regards,
--------------------------------------------
 Jean-Denis Boyer, B.Eng., Technical Leader
 Mediatrix Telecom Inc.
 4229 Garlock Street
 Sherbrooke (Québec)
 J1L 2C8  CANADA
 (819)829-8749 x241
--------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-02-05 10:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-04  2:00 Creating RAM disks as a non root user Rod Boyce
2003-02-04  2:14 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-02-04  2:03 James Don
2003-02-04 16:30 Kerl, John
2003-02-04 21:24 Jean-Denis Boyer
2003-02-04 21:52 ` Wolfgang Denk
2003-02-05 10:47   ` Kenneth Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).