Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   remake /dev (http://www.linux-archive.org/fedora-user/688344-remake-dev.html)

Patrick Dupre 07-28-2012 10:27 AM

remake /dev
 
Hello,

How can I remake the /dev ?

Thank.

--
================================================== ====================
Patrick DUPRÉ | | email: pdupre@kegtux.org
================================================== ====================
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Christopher Svanefalk 07-28-2012 11:24 AM

remake /dev
 
Did you delete it by accident, or is something in particular missing? I do not know if there is a general procedure to reconstruct the whole directory unfortunately.Best,
Christopher Svanefalk




On Sat, Jul 28, 2012 at 12:27 PM, Patrick Dupre <pdupre@kegtux.org> wrote:

Hello,



How can I remake the /dev ?



Thank.



--

================================================== ====================

*Patrick DUPRÉ * * * * * * * *| * | *email: pdupre@kegtux.org

================================================== ====================

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Have a question? Ask away: http://ask.fedoraproject.org



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Joachim Backes 07-28-2012 11:26 AM

remake /dev
 
On 07/28/2012 12:27 PM, Patrick Dupre wrote:
> Hello,
>
> How can I remake the /dev ?
>
> Thank.
>

Hi Patrick,

in earlier times this could be achieved by the script /dev/MAKEDEV, but
it is missing nowadays.

I think, *"man udev"* could be helpful for you.

Kind regards

Joachim

--
Joachim Backes <joachim.backes@rhrk.uni-kl.de>

https://www-user.rhrk.uni-kl.de/~backes

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Patrick Dupre 07-28-2012 11:34 AM

remake /dev
 
On 2012-07-28 13:26, Joachim Backes wrote:

On 07/28/2012 12:27 PM, Patrick Dupre wrote:

Hello,

How can I remake the /dev ?

Thank.



Hi Patrick,

in earlier times this could be achieved by the script /dev/MAKEDEV,
but

it is missing nowadays.



I still have a MAKEDEV, but I do know how to set the device.
/sbin/MAKEDEV [ -d directory ] [ -D directory ] [ -c configdir ] [ -m
maxdevices ] [-a] [-n] [-v] [-i] [-M] [-S] [-u] [-x] device ..
devices
[b|c] mode owner group major minor inc count fmt [base]
count devices will be created, with permissions set to
mode and
owned by owner and group. The first device will be
named fmt,
and additional devices will be created if count is
larger than
1. If fmt contains a C-style formatting string, it
will be
filled with the sum of base and zero. Subsequent
devices will
be filled with the sum of base and n * inc, where n is
the order
this device is being created in. If the format string
did not
already include a format specifier, a "%d" will
automatically be

appended to it to make this work.



I think, *"man udev"* could be helpful for you.

Kind regards

Joachim


--
================================================== ====================
Patrick DUPRÉ | | email: pdupre@kegtux.org
================================================== ====================
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Ed Greshko 07-28-2012 11:40 AM

remake /dev
 
On 07/28/2012 06:27 PM, Patrick Dupre wrote:
> How can I remake the /dev ?

How do you mean that?

/dev is a devtmpfs file system and gets regenerated at each boot time. It is done by the kernel.

So, what do you really want to do?

--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Joachim Backes 07-28-2012 11:41 AM

remake /dev
 
On 07/28/2012 01:34 PM, Patrick Dupre wrote:
> On 2012-07-28 13:26, Joachim Backes wrote:
>> On 07/28/2012 12:27 PM, Patrick Dupre wrote:
>>> Hello,
>>>
>>> How can I remake the /dev ?
>>>
>>> Thank.
>>>
>>
>> Hi Patrick,
>>
>> in earlier times this could be achieved by the script /dev/MAKEDEV,
>> but
>> it is missing nowadays.
>
>
> I still have a MAKEDEV, but I do know how to set the device.

Did you try "MAKEDEV -a" ? But I think, some entries will get lost after
the next reboot.

Joachim



--
Joachim Backes <joachim.backes@rhrk.uni-kl.de>

https://www-user.rhrk.uni-kl.de/~backes

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Patrick Dupre 07-28-2012 12:07 PM

remake /dev
 
My idea what to repair the installation from another installation.
So, I mounted the defectuous installation, and I did a chroot to it.
It works except that I have an error message:
so such file or directory : /dev/urandom

Same thing when I make a yum --version
There is no files in /dev, I though that I should rebuild it

Am I wrong?

On 2012-07-28 13:40, Ed Greshko wrote:

On 07/28/2012 06:27 PM, Patrick Dupre wrote:

How can I remake the /dev ?


How do you mean that?

/dev is a devtmpfs file system and gets regenerated at each boot
time. It is done by the kernel.

So, what do you really want to do?

--
Never be afraid to laugh at yourself, after all, you could be missing
out on the joke of the century. -- Dame Edna Everage


--
================================================== ====================
Patrick DUPRÉ | | email: pdupre@kegtux.org
================================================== ====================
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Ed Greshko 07-28-2012 12:29 PM

remake /dev
 
On 07/28/2012 08:07 PM, Patrick Dupre wrote:
> My idea what to repair the installation from another installation.
> So, I mounted the defectuous installation, and I did a chroot to it.
> It works except that I have an error message:
> so such file or directory : /dev/urandom
>
> Same thing when I make a yum --version
> There is no files in /dev, I though that I should rebuild it
>
> Am I wrong?

Yes, you are wrong. If you mount a / file system there will be nothing in /dev. That is normal. It gets populated during the boot process and really doesn't exist on disk.

If you go to /dev on a working system the date/time of the entries will be that of when the system was last booted, more or less.

--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


All times are GMT. The time now is 07:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.