Page 2 of 2 [ 19 posts ]  Go to page Previous  1, 2

sliqua-jcooter
Veteran
Veteran

User avatar

Joined: 25 Jan 2010
Age: 37
Gender: Male
Posts: 1,488
Location: Burke, Virginia, USA

29 Jul 2012, 10:33 pm

I'll chime in here and agree wholeheartedly with Cornflake. Drive enumeration is entirely dependent on hardware - it usually (but not always) comes down to the order the BIOS detects the drives in the system. To the point that moving/adding/removing any given disk can re-order the whole bunch. That is a big reason why many distributions use UUID's for the /etc/fstab file.

Linux doesn't have *any* set standard for partitioning drives. Different distributions can and do come up with their own standards, and any individual system can have any number of partitions, each with any kind of file system they want. The only limitation is the /boot partition must be able to be read from the chosen bootloader, which precludes (for the moment) ext4.

I have, currently running, systems with 1 partition, and systems with 24 partitions.

As for why one would want to do this - nearly every one of my interviews consists of me giving the candidate a box with init set to 6 or 0, and telling them to fix it.

Also, you don't need to chroot the system to fix it - in addition to booting a livecd to mount the drive and just edit the text file, you can also boot the system into single user mode and do the same from there.


_________________
Nothing posted here should be construed as the opinion or position of my company, or an official position of WrongPlanet in any way, unless specifically mentioned.


amboxer21
Deinonychus
Deinonychus

User avatar

Joined: 23 Jun 2011
Age: 38
Gender: Male
Posts: 350
Location: New Jersey

04 Aug 2012, 2:01 am

forgot about single user mode lol

I feel pretty stupid now for writting this =/ I am trying to redeem myself and finish my C programming select server and its GTK2.xx GUI chat client.

I freaking hate working with UTF-8 and sockets at the same time! It can be such a pain!



Meistersinger
Veteran
Veteran

User avatar

Joined: 10 May 2012
Gender: Male
Posts: 3,700
Location: Beautiful(?) West Manchester Township PA

06 Aug 2012, 5:18 pm

amboxer21 wrote:
Well for one I love using AWK! It's such an awesome language! Parsing strings is so much fun!! I think that's why I love network coding so much! I have to manipulate strings. And the task is very tedious! If the tinies thing is wrong or one rule is not properly met, then I wont work. That's what makes it such a challenge!

There's something about AWK! It's so powerful but so freaking easy to use. If you can think it up, you can do it! It's a sys admins heaven lol

I do have productive projects I am working on though. Some GUI's, servers, etc. this was just because I was learning about unit and was itching to use AWK!

For an ext4 type FS, on an external device it is true.


AWK may be easy for you, but for a non-programmer, who was forced to support a utility to convert data without knowing the language and without having the souce code for someone else to modify the utility when it needed it, it was hell.