Re: Re: FW: who create files under /dev/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Messages-----
> From: "Ramon Fried" <ramon.fried@xxxxxxxxxx>
> Sent Time: 2018-04-12 01:58:23 (Thursday)
> To: wuzhouhui <wuzhouhui14@xxxxxxxxxxxxxxxx>
> Cc: "Robert Wolfe" <robert.wolfe@xxxxxxxxxxxxxxx>, linux-newbie@xxxxxxxxxxxxxxx
> Subject: Re: FW: who create files under /dev/
> 
> check udev rules under /etc/udev/rules.d
Did you mean files under /dev/ are created by udevd? I kill all udevd daemons
but device files under /dev/ are created and removed as usual when I using dmsetup
to create and remove device.
> 
> 
> On 11 April 2018 at 17:03, wuzhouhui <wuzhouhui14@xxxxxxxxxxxxxxxx> wrote:
> > 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
> --
> 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
��.n��������+%������w��{.n�����{��w�n'��{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&���iO����v��m������)�^j����?}��




[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux