How do I access BSD file tree from within Linux?

I just installed PC-BSD 8.0 RC on an external USB HDD.  I went with the PC-BSD default partition layout, i.e. one primary partition for the entire PC-BSD slice, and 4 "partitions" within that slice, for /, swap, /usr and /var.
In order to access the PC-BSD file tree from within Linux, I mount it as follows:
mount -t ufs -o ufstype=ufs2,ro /dev/sdb1 /mnt/bsd
But after executing this command I can only access the PC-BSD / , not /usr and /var , presumably because they reside on two BSD "partitions" (subslices) different from / .  Is there any way I can mount these (read-only) in Linux, too, or would I have to reinstall PC-BSD and opt for laying out the slice differently, i.e. specifying only / and swap in sdb1?
Last edited by RobF (2010-02-13 11:55:39)

Look at  /dev/sdb*  there should be more than just sdb1.  You would need to mount those to see which is which.  For ufs write support the default kernel needs to be recompiled with experimental enabled.

Similar Messages

  • Can I access the file name from within an action?

    Hiya Y'all;
    I have an action written that batch opens a bunch of files, resizes the canvas of the frontmost, pastes the rest in, &etc., resulting in a montage. I would love to be able to access the names of the files used to create the montage, paste them in from the clipboard using the text tool, and thus label each pic. I can access the same general functionality through the File>Automate>Contact Sheet II command, but I then have little control over how PS resizes the images, and since my file names are often >32 characters, Contact Sheet II truncates the names in a silly way.
    I really would prefer not to have to use Applescript or Javascript, but I'm getting the feeling that I may have to. Is it possible to use AS to put the name in the clipboard, call the action from the script, and do that each time I paste in a new image? I can't do it once, since I will have six file names that each need to be pasted in . . .
    Hope y'all have some advice,
    R

    Thanks everyone . . . I use Chris's solution, setting it up in an action that is called by Applescript. It works great, though it takes noticeably more time to run the script (I think it has to load and be interpreted each time).
    I haven't tried Michael's suggestion, but, bottom line, you guys ROCK! It's amazing to have an obscure technical question answered in a day or so, and continuing interest from other good folk.
    Thanks to you all!
    Richard

  • Hey guys, how can i password protect my files in external hard drive? I want to access those files both from mac and windows PC!

    Hey guys, how can i password protect my files in external hard drive? I want to access those files both from mac and windows PC!

    If you want a cross-platform solution that doesn't require the use of third-party software, use an external drive with hardware encryption. The device will have either a physical key or a numeric keypad. I don't have a specific recommendation.

  • How can I access video file from sd card on ipad2?

    How can I access video file from sd card on ipad2?

    Your iPad 2 will see the video if:
    It's in a DCIM folder on the top level of the card (which is how most cameras do it)
    It's name is 8 characters, no more, no less (CKDI9483 for example)
    It's a format that the iPad will play
    I've made mp4's of things, folderized them right and named them 'right' and can transfer them to my iPad, so you can use a computer to make the files conform to what the iPad will see.

  • If I preformed a factory restore, and didn't restore from time machine, how can I access my files that were backed up?

    I wiped my Mid 2009 MBP and decided not to restore from time machine backups but now I need access to a few of the files from the pervious backup, how do I access those files? The previous backups are purple and inaccessible from the time machine window.
    Details: I use a G Drive to do my Time Machine backups.

    While in Time Machine, press the key combination shift-command-C. The front window will show all mounted volumes. All snapshots should now be accessible. Select the one you want and navigate to the files you want to restore.

  • How can I access my files from iCloud drive

    How can I access my files from iCloud drive from my iPhone? Is there someway to access the data like other cloud app as Google Drive nad Dropbox.

    You access them with the App responsible for the type of file.
    Read through this: iCloud Drive FAQ - Apple Support

  • How can I assign image file name from Main() class

    I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
    Here is the Main class
    import org.me.lib.MyJNIWindowClass;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    MyJNIWindowClass mw = new MyJNIWindowClass();
    mw.s = "clock.gif";
    And here is the library class
    package org.me.lib;
    public class MyJNIWindowClass {
    public String s;
    ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
    public MyJNIWindowClass() {
    JLabel jl = new JLabel(image);
    JFrame jf = new JFrame();
    jf.add(jl);
    jf.setVisible(true);
    jf.pack();
    I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
    Thank you.

    Your problem is one of timing. Consider this simple example.
    public class Example {
        public String s;
        private String message = "Hello, " + s;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example();
            ex.s = "world";
            System.out.println(ex.toString());
    }When this code is executed, the following happens in order:
    1. new Example() is executed, causing an object to constructed. In particular:
    2. field s is given value null (since no value is explicitly assigned.
    3. field message is given value "Hello, null"
    4. Back in method main, field s is now given value "world", but that
    doesn't change message.
    5. Finally, "Hello, null" is output.
    The following fixes the above example:
    public class Example {
        private String message;
        public Example(String name) {
            message = "Hello, " + name;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example("world");
            System.out.println(ex.toString());
    }

  • My ipod touch has a huge collection of music that I don't want to lose or replace but my computer has now crashed beyond recovery. How can I access my itunes account from another computer or transfer my playlists to another computer from my ipod?

    My ipod touch has a huge collection of music that I don't want to lose or replace but my computer has now crashed beyond recovery. How can I access my itunes account from another computer or transfer my playlists to another computer from my ipod?

    You can transfer iTunes purchases to your "new" computer by
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    You can transfer other stuff by:
    Best iPod to PC
    How to transfer or sync files from iPod to PC - Windows mac iPhone iPod software reviews - Software Wiki

  • How can we access the file/directory system in the server

    Hi friends,
    I have made a text editor attached with an audio player for my project.
    Both text editor and audio player are implemented in applet and put in to a
    jsp page using jsp:plugin. Text editor and player are separate applets running
    in the same page and from same server.A client who is using this editor may
    want to save the edited text files to the server as well as hear audio files from
    directories in the server.
    My question is how can we access the file/directory system in the server
    like we do in the local machine.When the user cliks save or openfromserver button
    in the editor, folder/files in the server must be displayed as we do with FileChooser.
    I am using Apache Tomcat 5,wiindows 2000 server, jdk1.5.
    manu

    You can't access it directly. But your applet can make net connections to the server, and the server can provide that kind of functionality. Generally this is easiest by making HTTP connections and having the server provide the functionality via the web server. (So in your case, JSPs or servlets on the server would list/deliver/create/modify/delete files, and the applets would invoke those JSPs and servlets.

  • How i can access log file in servlet?

    How i can access log file in servlet then display it to browser.
              Can i have peice of codes...
              Thanks in advance.!
              

    This is not something that can be answered easily. There is quite alot of code involved....
    To get started I suggest you read up on the built-in package 'DBMS_LOB' from Oracle . Most of what you need you should find there.
    regards Dave.

  • RE: How do I access deployed TOOL libraries from mycode?

    Hi Martin,
    sorry for the late answer but I hope it is still helpful.
    First: In the workspace you make your distribution from, check whether
    you really have library icons.
    Second: Make the distribution and run it from the partition workshop.
    Startup should fail when you do not have the libraries installed. If you
    install them later and you can run that distribution then, you can be
    sure that you use your library.
    Third: Sometimes it is difficult to import the library pex-file into
    your workspace when there are already plans with that name. To overwrite
    them you can use a traceflag (cfg:c4:14:14:1). But take care! this will
    overwrite!!! Do not overwrite them before you put your libraries sources
    into another repos. If you did it by accident, at least do not integrate
    until you saved the original code.
    Hope this helps. If you have more question please feel free to contact
    me.
    Uli
    Ulrich Beutenmüller
    TechnoData GmbH
    Germany
    -----Original Message-----
    From: Martin G Nystrom [SMTP:[email protected]]
    Sent: Thursday, October 15, 1998 12:56 PM
    To: [email protected]
    Subject: Re: How do I access deployed TOOL libraries from my
    code?
    Excellent! Now can I be sure that my client application is using the
    deployed
    library, not bundling its own when I distribute the application?
    -Martin
    Karoly <[email protected]> on 10/14/98 05:55:43 PM
    To: Martin G Nystrom/AM/LLY
    cc:
    Subject: Re: How do I access deployed TOOL libraries from my code?
    Martin,
    Here is how it works:
    When you create a library distribution, part of the result is a
    'Library
    Definition' pex file (located under the 'appdist') like this:
    C:\forte\appdist\EnvName\LibName\cl0\generic\LibName\LibName.pex
    You would import this pex file into a workspace, after which it
    would
    appear
    as any other Forte library.
    Once integrated, the library can used by other plans as a supplier
    (remember
    to 'install' the library from E-Console).
    Hope this helps,
    Karoly Kojnok
    Martin G Nystrom wrote:
    We have a lot of plans that contain "business objects" that ourclient
    applications share. I'd like to deploy these plans as TOOLlibraries (not
    compiled) and then have my deployed applications use them. Myquestion is:
    How do I access the library?
    Some possible answers:
    1) Just include it as a supplier plan, it will automatically use thedeployed
    TOOL library
    2) You have to programmatically load it using task.part.findLibrary
    3) The help says I can "import it into my repository" -- how do I dothat?
    -Martin
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive<URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Excellent! Now can I be sure that my client application is using the deployed
    library, not bundling its own when I distribute the application?
    -Martin
    Karoly <[email protected]> on 10/14/98 05:55:43 PM
    To: Martin G Nystrom/AM/LLY
    cc:
    Subject: Re: How do I access deployed TOOL libraries from my code?
    Martin,
    Here is how it works:
    When you create a library distribution, part of the result is a 'Library
    Definition' pex file (located under the 'appdist') like this:
    C:\forte\appdist\EnvName\LibName\cl0\generic\LibName\LibName.pex
    You would import this pex file into a workspace, after which it would
    appear
    as any other Forte library.
    Once integrated, the library can used by other plans as a supplier
    (remember
    to 'install' the library from E-Console).
    Hope this helps,
    Karoly Kojnok
    Martin G Nystrom wrote:
    We have a lot of plans that contain "business objects" that our client
    applications share. I'd like to deploy these plans as TOOL libraries (not
    compiled) and then have my deployed applications use them. My question is:
    How do I access the library?
    Some possible answers:
    1) Just include it as a supplier plan, it will automatically use thedeployed
    TOOL library
    2) You have to programmatically load it using task.part.findLibrary
    3) The help says I can "import it into my repository" -- how do I do that?
    -Martin
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • HT4859 Can't access my files uploaded to iCloud, yet iCloud shows 2 out of 5 gigs used. How can I access my files?

    I recently had an issues with my old iPhone 4s. I took it in to the apple store but the night before made sure I backed up my files to iCloud. After doing so I made sure my files were backed up because it went from 0 of 5 gigs to 2 of 5 gigs used. When I got my new phone, also an 4s, I tried to recover my contacts and pictures from iCloud, yet nothing happened. When I logged into icloud.com it shows no old contacts, actually none at all. I also can't figure out how to access my old pictures and files on icloud.com. When I go to icloud's settings on my iPhone it clearly shows 2 gigs of files yet when I try to restore the files to my new phone nothing actually gets added to the new phone. How can I access these files???? Anyone have any idea??

    just tried restoring from backup and it didn't list it as one of the backup options after i wipe out the iphone yet for some reason it shows up when i go through settings>>>manage storage. thanks anyway. i may have to bite the bullet and sit and wait for a few hours at the apple store, argh...

  • How do you access updates to apps from the App store after changing to a new ID because the password on the old ID was changed and you don't know what it is now?

    How do you access updates to apps from the App store after changing to a new ID because the password on the old ID was changed by the former husband and you don't know what it is now?  And you set up your own new ID and account but can NOT access the updates, from the App store for the many apps that you already have, because they require that you sign in with that former now inaccessible ID and account and password?  Call it a problem of modern times and changing relationships, if you want to be charitable.

    So I guess it will only be new apps that I download that are allowed to give me their updates while 13 updates wait for me on an ID I can no longer access.
    Yes...  sorry.
    In the future, if need be, you can re download your purchases for free  >  Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Good rule of thumb is to back up your purchases regardless  >  Mac App Store: Backing up your app purchases

  • How do I move a file directly from the desktop to a folder in OX 10?

    I am new to Mac and the Mountain Lion software.  Having worked exclusively with PC operating systems, I am familiar with how to work with files in Windows, but am having trouble doing similar actions in OX 10.  How do I move a file directly from the desktop to a folder in OX?  Although this answer is likely in a video tutorioal (somewhere), I do not have the time to sit an arbitrarily watch generic OS videos that give a broad brush overview, without answering specific queries.  Any help out there?

    You might fun http://www.apple.com/support/macbasics/ to be of help to get used to doing things the Mac way.
    Allan

  • How do i access my icloud accound from my pc

    how do i access my icloud accound from my pc (Windows 7)

    www.icloud.com
    Or download the iCloud control panel for Windows and use it with Outlook.

Maybe you are looking for

  • Audio stops halfway when encoding to .flv in AME

    Hi there, I have a .mov file that works perfectly when I play it in quicktime. But when I encode it to .flv (settings "same as source") and play it in Flash or Adobe AIR. The sound cuts out halfway. I tried changing bitraid settings and even changing

  • Problem in writing a Read Statement

    Hi, In my Table control I have a POSITION button which is used to find the record in the table. I have written the following code.   CALL FUNCTION 'POPUP_GET_VALUES'     EXPORTING *   NO_VALUE_CHECK        = ' '       popup_title           = 'Find th

  • New iMac old(er) iPods

    I have just purchased an iPod and and am in the process of restoring my library which has been a bit intense, but I'm making progress. The library was originally created on a PC which all of my families iPod's synced to. Once I get the libraries rest

  • Dynamic Media Server not available?

    I'm trying to create a GIF image, and in the past I had no pronlems with 'Importing video frames inoto layers' but now an error pops up about the Media Link not being available. Please help. x

  • Missing Paragraph Level Tag from the Text drop down

    I am following the first tutorial with Katie's Cafe (written version) and I notice that when I click on Text, I am missing two things in the drop down menu; they are called the Paragraph Level tags.  I downloaded Muse only 7 days ago.  I am using a P