[bglug] SuSE 7.3 - Cancellazione erronea di /dev/hdd

|k|b|s| bglug@lists.linux.it
Mon, 2 Sep 2002 09:08:18 +0200


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 01, 2002 at 11:33:59PM +0200, piankhy wrote:
> Mi =E8 stato sottoposto il seguente quesito : nel caso di cancellazione d=
i file=20
> di device (es. /dev/hdd corrsipondente a un cd-rom) come si fa a=20
> ripristinarlo? Considerando che ogni file di dispositivo ha numeri=20
> particolari (es . da mc detto file ha i seguenti numeri 22, 64) ? E cosa=
=20
> significano questi numeri ? rappresentano il canale e l'irq ? Ho detto un=
a=20
> bestialit=E0 ?

Sono il minor e major number. Puoi ricreare il device con makedev:
vai in /dev e dai
# ./MAKEDEV hdd -n 22 64
O qualcosa di simile, non ricordo.
Prova con una ricerca estesa.
Bye.
--=20
My piano have been drunking, not me.
	      -- Tom Waits
| k | b | s |  <kbs at bglug dot it>

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: KeyID 0x2870B1ED  available from  www.keyserver.net

iD8DBQE9cw5gfG0wjShwse0RAs5ZAJ9D2S4CcSYrKodZmOD1N7Z/nIG0jQCfYyT1
RZAnZcQuJ+4CTLN83QzQF1U=
=7yRD
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--