other filesystems

On my laptop I have a number of non-Solaris filesystems that have useful things on them. I have an ext3 filesystem from my Linux/Ubuntu install, a fat32 filesystem to transfer things between Windows and other OSes and a NTFS for Vista. In the past when I've added these things to vfstab it created problems with OpenSolaris booting. Now I know I should really debug that problem, but I'm lazy...

In the past I hacked my .bashrc to handle the mounting, but this is a terrible solution. I have since come up with a slightly less terrible solution that has the added benefit of me digging into SMF. So I created a simple SMF service that would mount these filesystems at boot.

So the first part is to craft a config. I put the manifest in

/var/svc/manifest/system/filesystem/pete-fs.xml
And also create a script that will be run as part of this service. I placed the script in
/lib/svc/method/fs-pete
All that was left was to import the manifest:
pfexec svccfg import /var/svc/manifest/system/filesystem/pete-fs.xml

So now that means my non-Solaris filesystems are mounted at boot no problems at all. I do still need to dig into the vfstab problem though, but that's likely to be on a different day..

Comments:

Did you know that the formatting
of this page is such that some
browsers can only see the left side?

Posted by David McDaniel on February 03, 2009 at 06:22 AM PST #

Thanks David, I didn't realise. What browser are you using? It seems to work fine in Firefox for me.

Posted by peter on February 03, 2009 at 06:24 AM PST #

The ahem "corporate standard" IE6

Posted by david.mcdaniel on February 03, 2009 at 06:32 AM PST #

Ok, there were one or two errors in the css which are now fixed. Let me know if it works for you now.

thanks,

peter

Posted by peter on February 03, 2009 at 06:41 AM PST #

Post a Comment:
Comments are closed for this entry.
About

Peter Buckingham

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today