Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Mount a partition or volume on demand' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Mount a partition or volume on demand
Authored by: Ram-Z on Aug 12, '09 01:27:20PM

This matches the correct column but also matches another partition. But this is because of the LABEL of my partition:

3: Microsoft Basic Data Windows 48.9 Gi disk0s3
...
1: Windows_NTFS Evolution 3.8 Gi disk2s1

It maches the first line correctly and the second because of the TYPE.
I'm not that familiar with awk regex but it should be able to match on word boundary like this in perl:

/bWindowsb/

But my workaround by selecting the 8th column works fine, so i'll be using this for now...

Thanks

[ Reply to This | # ]
10.5: Mount a partition or volume on demand
Authored by: tedw on Aug 12, '09 01:35:37PM

yeah, sjk caught this kind of problem in the post below yours. I posted a workaround there, and either he or I (or someone else) will think of something better in a bit.



[ Reply to This | # ]
10.5: Mount a partition or volume on demand
Authored by: sjk on Aug 12, '09 02:15:01PM
sjk caught this kind of problem in the post below yours
Thanks for noticing; I can't the last time someone acknowledged one of my comments on this site. Usually I arrive too late to the party, after most everyone else has moved on. :)

I didn't see your reply to Ram-Z with the non-existent field structure examples 'til after I'd posted. Glad we're all understanding the issue. I'm busy with other things for awhile so it's doubtful I'll be the one to think of something better in a bit. :)

I'll check back here later. Hmm, just realized subscribing to comment RSS feeds for specific articles in Apple Mail is a reasonable workaround for lack of e-mail notifications and could likely be my preferred method to monitor for article/comment followups on this site.

[ Reply to This | # ]