Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using mount



On Saturday, March 30, 2002, at 12:12 PM, "Peter \"Pierro' W Brewer" <email@hidden> wrote:

But this won't work in single user mode without starting the autodiskmountd.
when using HFS+. Umount and mount will work with ufs without starting the
daemon.


mount and umount work fine in single user mode with HFS(+) you just need to make sure you are using mount_hfs or mount -t hfs.

( Sigh.. What is it about inetd that every developer seems intent on
avoiding its use? )

inetd would not be appropriate for autodiskmount usage in any way. autodiskmount is not socket based, needs to be running at all time because it communicates directly with IOKit messaging and needs to be available to read from the kit on startup without anyone "messaging" it.


I've found that umount works fine, consistently, with ufs file systems. I
have yet to see any issues or problems related to disk arbitration. Which I
guess means that the standard BSD mechanisms are still basically intact.


Of course they are. Disk Arbitration is a layer directly on top of the standard BSD mechanisms.

Its a different story with HFS+. The only "disk" I wish to see in the finder
is root. The rest I access from root via links. I would like to tell
autodiskmount to not automatically mount disks in /Volumes.

This will be supported at some time. But if this is really what you want - why don't you just shut autodiskmount off (in the Disks startup item). NO secondary disks will mount until you explicitly mount them by hand.

The next major release will have fstab support in autodiskmount so you can mount your volumes whereever you wish based on UUID. This was discussed at great length in the past on this list - check the archives.

With HFS+ the
only way to do this seems to be to set a bit in the partition with pdisk. I
haven't experimented with that yet. I am assuming that might allow me to use
umount and mount with consistent results. I think it would use something
called hfs.util to do the actual work.

hfs.util just calls through to the mount_hfs and umount commands any way ... (in the long run).


Arbitration is still a problem EVEN when you let it do it its way. With
multiple partitions (HFS+), every fourth update/install seems to fail.

Have you filed a bug. I have tested huge numbers of partitions and this has never been an issue.

Right
now I am having problems with iTunes. I have multiple boot partitions (3
including CLASSIC). It doesn't like that.

Um - on one machine I have had up to 6 boot partitions and never had a problem with arbitration ...

The installer seems to have a
problem determining which partition I booted from...

No - the installer knows exactly where the boot partition is. It sounds like the iTunes installer has issues, not arbitration.

Eric



- P.

Please don't use umount, as it screws up disk arbitration (disks in the
finder, disks in apps, etc.).

use disktool -u to unmount disks and disktool -m to mount them again.

Eric
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: using mount (From: "Peter \"Pierro' W Brewer" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.