Posted by: Wildan Maulana | August 20, 2007

Why do we have /dev/.static on our directory ?

When playing with cryptsetup, i’ve notice that there are /dev/.static tree on my /dev/ directory .., here’s the output cryptsetup status on my ubuntu :

# cryptsetup status  rahasia
/dev/.static/dev/mapper/rahasia is active:
cipher:  aes-cbc-plain
keysize: 256 bits
device:  /dev/loop0
offset:  0 sectors
size:    20480 sectors
mode:    read/write
And here is the output on my ngw board :
~ # cryptsetup status rahasia
/dev/mapper/rahasia is active:
cipher:  aes-cbc-plain
keysize: 256 bits
device:  /dev/loop0
offset:  0 sectors
size:    61440 sectors
mode:    read/write

Why do we have /dev/.static on our directory ? after googling, i find several answers :

Before udevd starts up, you still need device nodes.  These could be
kept in /dev/.static/ or something.  The device that rdev reports is
stored as 0x3301 in bytes 508 and 509 of the kernel image, and probably
the only device node with major 0x33 minor 0x01 that you have is in that
.static directory.  Anyway:  rdev is really only of historical interest,
as its man page strongly implies.


Responses

  1. The rootkit checker ckhunter , warns me of the directory /dev/.static because it is hidden !


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: