Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > uk.comp.sys.mac > #127520 > unrolled thread
| Started by | JB <john.brennand@ntlworld.com> |
|---|---|
| First post | 2019-01-17 15:45 +0000 |
| Last post | 2019-01-21 21:07 +0000 |
| Articles | 5 on this page of 25 — 9 participants |
Back to article view | Back to uk.comp.sys.mac
Can I use a WD My Passport PC HD ? JB <john.brennand@ntlworld.com> - 2019-01-17 15:45 +0000
Re: Can I use a WD My Passport PC HD ? nospam <nospam@nospam.invalid> - 2019-01-17 10:56 -0500
Re: Can I use a WD My Passport PC HD ? JB <john.brennand@ntlworld.com> - 2019-01-18 13:28 +0000
Re: Can I use a WD My Passport PC HD ? Chris <ithinkiam@gmail.com> - 2019-01-17 18:58 +0000
Re: Can I use a WD My Passport PC HD ? JB <john.brennand@ntlworld.com> - 2019-01-18 13:28 +0000
Re: Can I use a WD My Passport PC HD ? JB <john.brennand@ntlworld.com> - 2019-01-21 15:49 +0000
Re: Can I use a WD My Passport PC HD ? whisky-dave <whisky.dave@gmail.com> - 2019-01-21 08:32 -0800
Re: Can I use a WD My Passport PC HD ? JB <john.brennand@ntlworld.com> - 2019-01-21 16:50 +0000
Re: Can I use a WD My Passport PC HD ? Sara Merriman <saramerriman@blueyonder.co.uk> - 2019-01-21 16:58 +0000
Re: Can I use a WD My Passport PC HD ? JB <john.brennand@ntlworld.com> - 2019-01-21 17:12 +0000
Re: Can I use a WD My Passport PC HD ? Sara Merriman <saramerriman@blueyonder.co.uk> - 2019-01-21 17:18 +0000
Re: Can I use a WD My Passport PC HD ? JB <john.brennand@ntlworld.com> - 2019-01-21 17:38 +0000
Re: Can I use a WD My Passport PC HD ? Sara Merriman <saramerriman@blueyonder.co.uk> - 2019-01-21 18:34 +0000
Re: Can I use a WD My Passport PC HD ? nospam <nospam@nospam.invalid> - 2019-01-21 12:22 -0500
Re: Can I use a WD My Passport PC HD ? JB <john.brennand@ntlworld.com> - 2019-01-21 17:35 +0000
Re: Can I use a WD My Passport PC HD ? nospam <nospam@nospam.invalid> - 2019-01-21 12:58 -0500
Re: Can I use a WD My Passport PC HD ? Chris <ithinkiam@gmail.com> - 2019-01-21 18:00 +0000
Re: Can I use a WD My Passport PC HD ? Lucifer <LuciferMorningstar@bigpond.com> - 2019-01-22 06:03 +1100
Re: Can I use a WD My Passport PC HD ? Bruce Horrocks <07.013@scorecrow.com> - 2019-01-21 23:36 +0000
Re: Can I use a WD My Passport PC HD ? nospam <nospam@nospam.invalid> - 2019-01-21 18:50 -0500
Re: Can I use a WD My Passport PC HD ? Chris <ithinkiam@gmail.com> - 2019-01-22 16:50 +0000
Re: Can I use a WD My Passport PC HD ? Chris Ridd <chrisridd@mac.com> - 2019-01-22 17:47 +0000
Re: Can I use a WD My Passport PC HD ? richard@cogsci.ed.ac.uk (Richard Tobin) - 2019-01-22 18:59 +0000
Re: Can I use a WD My Passport PC HD ? Chris <ithinkiam@gmail.com> - 2019-01-22 20:13 +0000
Re: Can I use a WD My Passport PC HD ? Chris Ridd <chrisridd@mac.com> - 2019-01-21 21:07 +0000
Page 2 of 2 — ← Prev page 1 [2]
| From | Chris <ithinkiam@gmail.com> |
|---|---|
| Date | 2019-01-22 16:50 +0000 |
| Message-ID | <q27hl5$6cu$1@dont-email.me> |
| In reply to | #127671 |
On 21/01/2019 23:36, Bruce Horrocks wrote:
> On 21/01/2019 17:35, JB wrote:
>> On 21/01/2019 17:22, nospam wrote:
>>> In article <gamcrlFfevhU1@mid.individual.net>, JB
>>> <john.brennand@ntlworld.com> wrote:
>>>
>>>>> If it's just the disk image, you can hide that using Finder
>>>>> preferences. In the General settings untick the box that says to show
>>>>> external disks on the desktop
>>>>> Thanks - But wont that just hide "All" external disks from the desktop
>>>> (which I dont want)?
>>>>
>>>> someone posted in a forum....
>>>> (
>>>>
>>>> https://superuser.com/questions/44318/how-do-i-remove-a-mybooks-wd-smartware-v
>>>>
>>>> irtual-cd-from-my-desktop
>>>> )
>>>> that putting this script in Terminal will do the job - but I am too
>>>> nervous of Terminal to mess about in there
>>>>
>>>> sudo sh -c "echo UUID=`diskutil info /Volumes/WD\ SmartWare/ | grep
>>>> 'UUID' | awk '{print $NF}'` none hfs rw,noauto 0 0 >> /etc/fstab"
>>>
>>> don't do that.
>>>
>> Phew !! Anything I can do other than just ignore it.
>
> The Windows utilities provided with the disk are built into the ROM,
> rather than actually stored on the disk, so they can't be erased.
>
> In theory you should be able to create a Folder Action script, using
> Automator, to monitor the /Volumes directory and unmount the SmartWare
> disk as soon as it appears.
>
> However, I tried a little test under El Capitan and, although it would
> launch when a USB was inserted, I couldn't get any of the Files/Folders
> actions to filter on name. YMMV.
>
That's effectively what the terminal script up-thread attempts to do.
Although I notice this in my /etc/fstab.hd (High Sierra):
"IGNORE THIS FILE.
This file does nothing, contains no useful data, and might go away in
future releases. Do not depend on this file or its contents."
So the terminal script may not work anyway.
[toc] | [prev] | [next] | [standalone]
| From | Chris Ridd <chrisridd@mac.com> |
|---|---|
| Date | 2019-01-22 17:47 +0000 |
| Message-ID | <q27kuk$qh3$1@dont-email.me> |
| In reply to | #127689 |
On 22/01/2019 16:50, Chris wrote: > That's effectively what the terminal script up-thread attempts to do. > Although I notice this in my /etc/fstab.hd (High Sierra): > "IGNORE THIS FILE. > This file does nothing, contains no useful data, and might go away in > future releases. Do not depend on this file or its contents." > > So the terminal script may not work anyway. I can confirm that hiding volumes by UUID in fstab certainly works. So the notice is untrue, however there may indeed be other better ways of achieving the same results. -- Chris
[toc] | [prev] | [next] | [standalone]
| From | richard@cogsci.ed.ac.uk (Richard Tobin) |
|---|---|
| Date | 2019-01-22 18:59 +0000 |
| Message-ID | <q27p5s$22pc$1@macpro.inf.ed.ac.uk> |
| In reply to | #127689 |
In article <q27hl5$6cu$1@dont-email.me>, Chris <ithinkiam@gmail.com> wrote:
>>>>> sudo sh -c "echo UUID=`diskutil info /Volumes/WD\ SmartWare/ | grep
>>>>> 'UUID' | awk '{print $NF}'` none hfs rw,noauto 0 0 >> /etc/fstab"
[...]
>That's effectively what the terminal script up-thread attempts to do.
>Although I notice this in my /etc/fstab.hd (High Sierra):
>"IGNORE THIS FILE.
>This file does nothing, contains no useful data, and might go away in
>future releases. Do not depend on this file or its contents."
>
>So the terminal script may not work anyway.
That's /etc/fstab.hd, which seems to be long obsolete if it was ever
used at all. /etc/fstab still works according to reports, though I
haven't tried it.
-- Richard
[toc] | [prev] | [next] | [standalone]
| From | Chris <ithinkiam@gmail.com> |
|---|---|
| Date | 2019-01-22 20:13 +0000 |
| Message-ID | <q27tho$o09$1@dont-email.me> |
| In reply to | #127696 |
Richard Tobin <richard@cogsci.ed.ac.uk> wrote:
> In article <q27hl5$6cu$1@dont-email.me>, Chris <ithinkiam@gmail.com> wrote:
>
>>>>>> sudo sh -c "echo UUID=`diskutil info /Volumes/WD\ SmartWare/ | grep
>>>>>> 'UUID' | awk '{print $NF}'` none hfs rw,noauto 0 0 >> /etc/fstab"
>
> [...]
>
>> That's effectively what the terminal script up-thread attempts to do.
>> Although I notice this in my /etc/fstab.hd (High Sierra):
>> "IGNORE THIS FILE.
>> This file does nothing, contains no useful data, and might go away in
>> future releases. Do not depend on this file or its contents."
>>
>> So the terminal script may not work anyway.
>
> That's /etc/fstab.hd, which seems to be long obsolete if it was ever
> used at all. /etc/fstab still works according to reports, though I
> haven't tried it.
Ah right. I wasn't sure whether the /etc/fstab.hd was a new thing or old
thing on the Mac. I'm familiar with /etc/fstab but it doesn't exist by
default on my machine.
[toc] | [prev] | [next] | [standalone]
| From | Chris Ridd <chrisridd@mac.com> |
|---|---|
| Date | 2019-01-21 21:07 +0000 |
| Message-ID | <q25cb8$f76$1@dont-email.me> |
| In reply to | #127646 |
On 21/01/2019 17:12, JB wrote:
> that putting this script in Terminal will do the job - but I am too
> nervous of Terminal to mess about in there
>
> sudo sh -c "echo UUID=`diskutil info /Volumes/WD\ SmartWare/ | grep
> 'UUID' | awk '{print $NF}'` none hfs rw,noauto 0 0 >> /etc/fstab"
I've done something similar in the past. You add a line to /etc/fstab
telling the OS to not mount any disk with a particular UUID. In my case
I wanted to stop the OS from mounting my Sony eReader's internal storage
on the desktop.
`man fstab` will show you the details.
--
Chris
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | uk.comp.sys.mac
csiph-web