I encountered an issue when developing md. When I using "mdadm -S
dev/md0" to destroy md device, the data structure (such as gendisk,
request_queue, kobject and mkdev_s) in kernel are destroyed but /dev/md0
remained. So I want to know who is responsible to remove /dev/md0.
On 04/11/2018 09:56 PM, Robert Wolfe wrote:
From: Robert Wolfe [mailto:robert.wolfe@xxxxxxxxxxxxxxx]
Sent: Wednesday, April 11, 2018 8:53 AM
To: 'wuzhouhui' <wuzhouhui14@xxxxxxxxxxxxxxxx>;
'linux-newbie@xxxxxxxxxxxxxxx' <linux-newbie@xxxxxxxxxxxxxxx>
Subject: RE: who create files under /dev/
These are usually created during the OS installation. The best way I would
think to find this out is to do an ‘ls –lrt’ on the files in the /dev
directory to see what user the directories were created by. Although, I am
not quite sure why you would want to know this?
From: linux-newbie-owner@xxxxxxxxxxxxxxx
[mailto:linux-newbie-owner@xxxxxxxxxxxxxxx] On Behalf Of wuzhouhui
Sent: Wednesday, April 11, 2018 4:48 AM
To: linux-newbie@xxxxxxxxxxxxxxx
Subject: Re: who create files under /dev/
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs