You are not logged in.

#1 2008-07-14 05:54:54

venky80
Member
Registered: 2007-05-13
Posts: 1,002

how to create /dev/ram0?

I need /dev/ram0 to create a USB slax how can I ass ram0 to my /dev directory?


Acer Aspire V5-573P Antergos KDE

Offline

#2 2008-07-14 06:29:39

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: how to create /dev/ram0?

'mknod' is your friend.
Something along these lines with proper ownership will get the job done: mknod -m 660 /dev/ram0 b 1 1
cheers,

Last edited by somedrew (2008-07-14 06:31:34)

Offline

#3 2008-07-14 06:35:42

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: how to create /dev/ram0?

Hi venky,
try with:

mknod -m 660 /dev/ram0 b 1 1
chown root.disk /dev/ram0

Offline

#4 2008-07-14 14:46:52

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: how to create /dev/ram0?

Thanks luka
but just out of curiosity why is this not there by default in /dev folder
I have several linux distros installed, all have this except arch

Last edited by venky80 (2008-07-14 14:48:29)


Acer Aspire V5-573P Antergos KDE

Offline

#5 2008-07-14 15:25:59

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: how to create /dev/ram0?

The strange thing is that in /etc/udev/rules.d/50-udev-default.rules there is a rule for this device:

KERNEL=="ram[0-9]*", NAME="rd/%n", SYMLINK+="%k"

Offline

#6 2008-07-14 15:49:57

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: how to create /dev/ram0?

Is it something the devs should know about? Bug report or something?


Acer Aspire V5-573P Antergos KDE

Offline

Board footer

Powered by FluxBB