Shawn Walker wrote: > Sundar Yamunachari wrote: >> vinz meier wrote: >>> hello >>> >>> long story short, we use some self developed software to dynamicaly >>> install windows/linux on alot of workstations we use for education; >>> the partitions are made dynamically depending on what is being >>> installed. >>> for the auto installer, this is afaik bad as you need to know the >>> layout to delete partitions. >>> it would really be cool if you could define a command in the >>> ai_manifest for a command(s) to be executed at the very beginning, >>> like "fdisk -B /dev/rdsk....". >>> and/or if there was an option like >>> <ai_target_device> >>> <target_device_name>c3d0</target_device_name> >>> <target_device_use_entire_disk>true</target_device_use_entire_disk> >>> </ai_target_device> >>> which would do the same as "fdisk -B" >>> >>> or some option to delete all partitions. excuse me if something >>> already exists to delete a partition without knowing the sector >>> start. in my opinion, knowing the prior disk layout is not automated >>> ;-) >>> >>> if something like this, or a walkaround, is already possible please >>> let me know >>> >>> thanks in advance & regards >>> vinz >>> >> Vinz, >> >> There will be more flexibility to specify add/delete partitions in >> the coming releases. We are adding more ways to specify size >> (MB/GB/sectors) and also an option to create a partition given just >> the size (This will create Solaris partition of the given size). > > I have to ask, who actually specifies size in sectors these days? > > I'm sure there is some special case that needs it, but really, why > would you do that? Solaris traditionally uses cylinders for fdisk partitions and slices. When you convert from cylinders to MB/GB and back, there were some rounding off errors. That caused issues with other partition tools. So we use sectors as our basic size. If some one wants to create partitions with out gaps, they could specify sizes in sectors.
- Sundar