* [9fans] q re /sys/src/cmd/disk/prep/prep.c:240 @ 2016-11-04 20:03 James A. Robinson 2016-11-04 20:41 ` Steve Simon 0 siblings, 1 reply; 3+ messages in thread From: James A. Robinson @ 2016-11-04 20:03 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 405 bytes --] So I noticed that if I run disk/prep -b -a^(arenas isect bloom) against my disk it goes ahead and creates a partition table that has arenas starting at sector 0. If I manually create partitions, /sys/src/cmd/disk/prep/prep.c:24 guards against using sectors 0 and 1 unless it's a 9fat partition. Why is there a difference in the way an automated partition set is created vs a manual one? Jim [-- Attachment #2: Type: text/html, Size: 547 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] q re /sys/src/cmd/disk/prep/prep.c:240 2016-11-04 20:03 [9fans] q re /sys/src/cmd/disk/prep/prep.c:240 James A. Robinson @ 2016-11-04 20:41 ` Steve Simon 2016-11-04 23:51 ` James A. Robinson 0 siblings, 1 reply; 3+ messages in thread From: Steve Simon @ 2016-11-04 20:41 UTC (permalink / raw) To: 9fans The usual process is to use prep first to create a windows etc compatible partition table with one big partition called plan9. then subdivide that. see the recipie near the end of the format(1) manpage. why part does different things in automatic mode I don't know. -Steve ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] q re /sys/src/cmd/disk/prep/prep.c:240 2016-11-04 20:41 ` Steve Simon @ 2016-11-04 23:51 ` James A. Robinson 0 siblings, 0 replies; 3+ messages in thread From: James A. Robinson @ 2016-11-04 23:51 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 634 bytes --] On Fri, Nov 4, 2016 at 1:43 PM Steve Simon <steve@quintile.net> wrote: > The usual process is to use prep first to create a windows etc > compatible partition table with one big partition called plan9. > then subdivide that. > > see the recipie near the end of the format(1) manpage. > > why part does different things in automatic mode I don't know. Hi, Yes, when I used disk/fdisk I set a single p1 partition with the label plan9. Then I was running disk/prep against that /dev/sdE1/plan9 partition. I couldn't think of any reason I needed a 9fat partition on a disk I didn't plan to use as a boot disk. Jim [-- Attachment #2: Type: text/html, Size: 943 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-04 23:51 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-11-04 20:03 [9fans] q re /sys/src/cmd/disk/prep/prep.c:240 James A. Robinson 2016-11-04 20:41 ` Steve Simon 2016-11-04 23:51 ` James A. Robinson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).