leocharre has asked for the wisdom of the Perl Monks concerning the following question:
I'm working on keeping track of data accross a network. And yes I am convinced perl is just fine for managing heavy stuff like this. Or it will be. (Paul Graham is da man!!!)
How would I go about identifying a partition, or at least a physical drive?
Maybe id'ing a partition would be easier? It seems I could simply put a readonly file at the root of the partition, like /.ptnid.0123456789.
Maybe if I looked up a way to tap into the hd bios chip or whatnot, there would be an id there? But this would only be useful for the actual driv, not so much the concept of 'partition'.
Looked on cpan and I see little about this kind of thing- maybe that's the way it should be?
I'm using ext3, maybe some fs types keep an id themselves (in the partition/inode/etc table ) ?
Any suggestions where I could find out more? I've read up on inode/fs design and some other creepy beautiful things, it hurts my head. But I can delve deeper if that's the road to the wizard.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (OT) how to identify a partition
by walto (Pilgrim) on Apr 18, 2008 at 16:25 UTC | |
by leocharre (Priest) on Apr 20, 2008 at 19:03 UTC | |
Re: (OT) how to identify a partition
by rowdog (Curate) on Apr 18, 2008 at 19:56 UTC | |
Re: (OT) how to identify a partition
by mr_mischief (Monsignor) on Apr 18, 2008 at 16:12 UTC | |
by leocharre (Priest) on Apr 18, 2008 at 16:24 UTC | |
by mr_mischief (Monsignor) on Apr 18, 2008 at 16:45 UTC | |
Re: (OT) how to identify a partition
by dwm042 (Priest) on Apr 18, 2008 at 20:18 UTC | |
Re: (OT) how to identify a partition
by oko1 (Deacon) on Apr 19, 2008 at 16:19 UTC |