More than 1 folder on a new partition

Hi!
I'd like to have a partition with two folders (or more eventually) folders on it,  If I've got folders A and B for instance, I'd like them to have labels /A and /B.  I could add this to /etc/fstab:
/dev/sda4    /A ext3 defaults 0 1
/A/B            /B ext 3 bind 0 1
but this requires having a B folder inside A.  Is there an other way to have a partitioning scheme like this?
Regards, and thanks for the answers!

you could also do
/dev/sda4 /mnt/sda ext3 defaults 0 1
/mnt/sda/B /B ext 3 bind 0 1
/mnt/sda/A /A ext 3 bind 0 1

Similar Messages

  • Prolem to connect more than 2 monitors to new macpro

    hi
    i have a problem to connect more than 2 monitors with minidisplayport to dvi adaptor in my new macpro

    One hdmi, One minidisplayport to dvi and 4 adaptors
    http://store.storeimages.cdn-apple.com/4545/as-images.apple.com/is/image/AppleIn c/aos/published/images/M/B5/MB571/MB571?wid=800&hei=800&fmt=jpeg&qlt=95&op_sharp en=0&resMode=bicub&op_usm=0.5,0.5,0,0&iccEmbed=0&layer=comp&.v=1400689396361
    Le 13 avr. 2015 19:03, "abdelhaq larhrissi" <[email protected]> a écrit :
    I upgrade my osx to 10.9.5 and now i can connect 6 Samsung 40" full hd to
    m'y macpro
    Le 11 avr. 2015 17:45, "Apple Support Communities Updates" <
    [email protected]> a écrit :
    >>                  You received a reply       *lllaass
    >> <https://discussions.apple.com/people/lllaass?ac_cid=op123456>* has
    >> replied to your question. You can view the full discussion
    >> <https://discussions.apple.com/message/28048945?ac_cid=op123456#28048945>
    >> in Apple Support Communities.            prolem to connect more than 2
    >> monitors to new macpro
    >> <https://discussions.apple.com/message/28048945?ac_cid=op123456#28048945>
    >>
    >> If the resolution of the displays is 1920x1200 or less you do not need
    >> the $99 dual-link active adapter. An active adopter like this will work:
    >>
    >> http://www.amazon.com/Accell-B087B-006B-2-DisplayPort-Single-Link-Certified/dp/B
    >> 0098HVZA0/ref=sr_1_3?ie=UTF8&qid=1421443…
    >> <http://www.amazon.com/Accell-B087B-006B-2-DisplayPort-Single-Link-Certified/dp/B 0098HVZA0/ref=sr_1_3?ie=UTF8&qid=1421443353&sr=8-3&keywords=ACTIVE+DVI>
    >>
    >> http://www.startech.com/AV/Displayport-Converters/Mini-DisplayPort-to-DVI-Active
    >> -Adapter~MDP2DVIS
    >> <http://www.startech.com/AV/Displayport-Converters/Mini-DisplayPort-to-DVI-Active -Adapter~MDP2DVIS>
    >>             Correct Answer
    >> <https://discussions.apple.com/email/thread/6989032/correct/28048945> Helpful
    >> Answer
    >> <https://discussions.apple.com/email/thread/6989032/helpful/28048945>    Use
    >> the buttons above to tell lllaass and the rest of the community if this
    >> reply solved your question or helped you get closer to finding a solution.
    >> To reply to lllaass, go to the discussion
    >> <https://discussions.apple.com/message/28048945?ac_cid=op123456#28048945>
    >> in Apple Support Communities.        You are receiving this email from
    >> Apple Support Communities. You can change your email preferences in your Apple
    >> Support Communities Profile
    >> <https://discussions.apple.com/user-preferences!input.jspa>.   TM and
    >> copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.   All
    >> Rights Reserved <http://www.apple.com/legal/> | Privacy Policy
    >> <http://www.apple.com/legal/privacy/> | Terms of Use
    >> <https://discussions.apple.com/docs/DOC-5952> | Apple Support
    >> <http://www.apple.com/support/>
    >>
    >>

  • Not able to edit more than one function of new photos

    I recently upgraded my iPhoto to 09 after shifting to Leopard 10.5 on my G5. Today, for the first time after the upgrade, I loaded about 100 photographs and have found that I am unable to edit more than one function at a time on these image. For example, the image contrast can be adjusted, but, following that, no other function or cropping appears to work. The saved image, after selecting "Done", doesn't show any change other than the initial edit. Surprisingly, I am able to perform multiple edits on the images that were already in the Library (8,500!). After looking at this forum's topics and trying some of the suggestions provided for other editing issues, I've tried to edit more than one function in full screen view, library and album modes with no success.
    Any help would be appreciated.
    thanks,
    Message was edited by: Umnak ( showed incorrect OS on original)

    If you go the PS or PSE route this many be of some help:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 6 the Saving File preferences should be configured: "On First Save: Save Over Current File". Also I suggest the Maximize PSD File Compatabilty be set to Always.
    If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..

  • Cannot add more than one reminder, add new list, to reminder app in iOS 7.1, app crashes a lot

    Default iOS reminder app: Cannot add more than one reminder, cannot add new list, after updating to iOS 7.1. The app crashes frequently on editing or just by pressing return..

    Hello Kyem22,
    Thank you for providing the details of the issue you are experiencing with the Reminders app quitting unexpectedly.
    The first thing I recommend is quitting and relaunching all the applications on your iPad:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    You can find the full article here:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    If you are still seeing the same issue after quitting all the apps, I recommend restarting your iPad and then resetting if it's still not working:
    Restarting your device
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
    Press and hold the Sleep/Wake button until the Apple logo appears.
    Note: Reset your device only if you are unable to restart it.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    You can find the full article here:
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, the last thing I recommend is backing up and restoring your iPad. The Reminders app is not something that can individually be reinstalled, but backing up your iPhone and restoring the iOS software will reinstall the application:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Firefox will not let me start more than one instance (or new window)

    I thought I'd check here first in hopes of an answer.  I am not sure what this is related to honestly.  I have not done any recent system updates and this was working fine yesterday afternoon.
    This morning, when I unlocked my screen, I was unable to open a new instance of firefox (already had one running).  I rebooted for the heck of it and that did not help in the least.  Trying to run firefox from the cli gives no errors - I am even unable to call a new window from within firefox itself.  Simply nothing happens.
    Please any help would be appreciated.  I really need this to work.  I have too much to get done today for something like this to happen.
    Thanks
    B

    Yeah I didn't really want to have to do that.  I've got three apache recompiles to do and a conference call in less than 2 hours.
    A bit more info on this.
    If I run 'firefox -browser -no-remote' it gives me the old 'Firefox is already running, but is not responding.  To open a new window, you must first close the existing firefox process ... yada'
    I'm going to try disabling some specific extensions

  • Can't load more than one photo to new 80 GB IPod

    Hello All,
    I have a new 80 GB IPod and have successfully loaded one low res jpg photo but that's all I can load. I select my named folder in the photo tab window and hit "apply" and nothing happens. I've tried dragging and dropping the photos (to the photo window and to my IPod icon in the ITunes window on the left ) and that doesn't work. All my photos are small, 72 dpi jpgs. I read the answers to another user with the same question but did not find a solution.
    I appreciate your time and help, Happy New Year!
    Lee
    Yosemite
    G4   Mac OS X (10.3.9)  

    As Facebook is no longer a system app then this maybe a question to put to the developers as a recent update may have removed such features
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • How to put Snow Leopard onto new partition along with Yosemite

    Made a second partition on my 2010 iMac that had only one Yosemite partition before. I thought it was supposed to wipe out the original partition when creating another one but much to my surprise Disk Utility merely shrank the size of the Yosemite partition. Result: Yosemite 3.9 TB and new partition (that I want to put Snow Leopard onto) is less than 100 GB. New partition shows under devices in Finder. When I insert Snow Leopard installation CD of course I'm told that I cannot install on this computer or at least this partition. When I restart and hold down the option key the only choice I have is the original partition with Yosemite but not the Snow Leopard partition. So...can anyone tell me what to do to get the Snow Leopard OS onto the second/new partition?

    ehstoker wrote:
    Didn't work. When I held down the C key I got the black screen with white letters saying that basically I had crashed the computer.
    That sounds like your disc is unable to install Snow Leopard - what install disc are you using? Is it grey or a white disk with a Snow Leopard printed on it? Grey discs are for a specific model & cannot be installed on other models. If you can provide a copy of the error message we may be able to help (an image or some of the final output may help). We are left assuming it may be a kernel panic.
    The white 'cat' disc is a retail version that can be installed on compatible Macs.
    ehstoker wrote:
    When I restarted and held down the Option key, I got what I said before which is "the only choice I have is the original partition with Yosemite but not the Snow Leopard partition".
    That sounds correct - you don't appear to have managed to install 10.6 yet so you can't select that as a boot option.

  • How to create new user with more than one default folder

    hi
    A new user created in OCS has only one default folder(Inbox).
    I want to create new user with customized default folder.
    for example:
    a new user has more than one default folder(Inbox,Outbox,Draft,Dustbin...)
    And also I want to automaticly enable the functions:
    When sending messages, place a copy in Outbox
    Keep message drafts in Draft
    Move deleted messages to Dustbin
    who know that?
    thanks

    The same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
    Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated

  • How to share more than one Time Machine folder

    Hi,
    With Snow Leo Server I found how to find how to share more than one Time Machine Folder but I can't see how to do the same with Lion Server, could you help me with that ?
    The goal of that is to offer one TM folder per user which is located on a dedicated partition in order to limit the size of TM backups per user (150Gig).
    In Lion, in can only share one TM folder for everybody and I didn'tfind if I can set a limit size per user...
    Thank you in advance,

    I have figured out a way to enable multiple backup targets.
    However, it's one of these things I wouldn't want to describe to anyone except true programmer types, because everyone else has a 90%+ chance of messing up their system if they do something wrong.
    It involves turning off file sharing, and then editing the plist files in /private/var/db/dslocal/nodes/Default/sharepoints/
    The gist of it is this:
    a) first create all the share points you later want to use for TimeMachine, and set them up for afp-only file sharing, also create one TM target, which you can either use later, or have there so the system has one entry it knows how to handle. I just made a bogus one that I'm not actively using.
    b) turn off file sharing in Server.app
    c) turn off TimeMachine in Server.app
    d) now you can edit the files, the easiest is with Xcode, so you may want to install that first
    e) for each sharpoint you made in a) there will be a corresponding .plist file in the location indicated, these are the files that need to be edited.
    f) for each of these files
         1) the item0 string property in the timeMachineBackup array must be switched from 0 to 1
         2) a new key of type array with the name timeMachineBackupUUID must be created
         3) in the newly created array an item of type string must be placed with the value of a UUID, which can be created with the shell command uuidgen
    g) make sure all the edited plist files are saved
    h) turn on TimeMachine in the Server.app again
    If all went well, you now should be able to go to one of your networked client computers and see all the time machine share points just created as options for being a time machine target.
    Anyway, if you go that route: be careful, don't blame me if you muck things up...

  • Can we open more than one  "folder" at a time in Bridge?

    When I click on a folder icon, the images appear in the Bridge workspace. Then when I click on another, different, folder icon, the previously displayed images are gone, and only the second folder's images appear. A priori, this seems to be an unnecessary limitation on functionality, and therefore I presume that I just do not know how to do what is called for: To use the functionality of Bridge for more than the contents of only one folder at a time.
    Yes, I know that I could, using, say, Windows Explorer, create a sort of "megafolder" into which I copied the contents of several folders, but this seems to be a kludge which should not be necessary.
    Did the designers of Bridge not contemplate that users would want to operate on the contents of more than one folder at a time? I presume that I am just ignorant of how to achieve what should be a normal functionality; seeing more than the contents of just one folder at a time.
    Please alleviate my ignorance.

    Quick way: Press Ctrl+N (Cmd-N mac) to open a new Bridge window. Open the second folder there.
    Not so quick way: Select menu File => New Window. Open the second folder there.
    If you MUST view all of the files in one window, all of your files MUST be in folders nested within the same parent folder. In that case:
    1) View the parent folder in bridge.
    2) Open the Filter palette.
    3) Click the microscopic button in the top left corner of the Filter palette, which looks like a folder with a "No" symbol on it. The tooltip label for that button is, "Click to view all items...".

  • Not able to create More than 1 Partition in USB Drive using kernel32 and DeviceIoControl

    I have successfully created 2 or more partitions in USB drive using DeviceIoControl in C++. Now I am trying to convert this code into C# using kernel32 and DeviceIoControl. But I am not getting more than 1 partition. Can anybody tell me what is wrong
    with this code?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Diagnostics;
    using System.Runtime.InteropServices;
    namespace PartitionWrapper
    public class IOWrapper
    public static bool CreatePartitions(string selectedDrive)
    bool RetCode = false;
    try
    bool bSuccess = false;
    uint dwBytesReturned = 0;
    IntPtr hDisk = OpenVolume(selectedDrive);
    if (hDisk == null || hDisk == FSConstants.INVALID_HANDLE_VALUE)
    RetCode = false;
    goto FINAL;
    bSuccess = FSStructures.DeviceIoControl(hDisk, FSConstants.IOCTL_DISK_DELETE_DRIVE_LAYOUT, IntPtr.Zero, 0, default(IntPtr), default(uint), ref dwBytesReturned);
    // Get the partition information
    uint PartitionInfomations = (uint)(Marshal.SizeOf(typeof(FSStructures.DRIVE_LAYOUT_INFORMATION_EX)) + 3 * Marshal.SizeOf(typeof(FSStructures.PARTITION_INFORMATION_EX)));
    byte[] DBuffer = new byte[PartitionInfomations];
    GCHandle handle = GCHandle.Alloc(DBuffer, GCHandleType.Pinned);
    FSStructures.DRIVE_LAYOUT_INFORMATION_EX pDriveLayout = (FSStructures.DRIVE_LAYOUT_INFORMATION_EX)Marshal.PtrToStructure(handle.AddrOfPinnedObject(), typeof(FSStructures.DRIVE_LAYOUT_INFORMATION_EX));
    IntPtr pDriveLayoutPtr = Marshal.AllocHGlobal(Marshal.SizeOf(pDriveLayout));
    Marshal.StructureToPtr(pDriveLayout, pDriveLayoutPtr, false);
    // bSuccess = FSStructures.DeviceIoControl(hDisk, FSConstants.IOCTL_DISK_GET_DRIVE_LAYOUT_EX, default(IntPtr), default(uint), pDriveLayoutPtr, PartitionInfomations, ref dwBytesReturned);
    pDriveLayout = (FSStructures.DRIVE_LAYOUT_INFORMATION_EX)Marshal.PtrToStructure(pDriveLayoutPtr, typeof(FSStructures.DRIVE_LAYOUT_INFORMATION_EX));
    if (bSuccess || dwBytesReturned != PartitionInfomations)
    RetCode = true;
    else { RetCode = false; goto FINAL; }
    pDriveLayout.PartitionEntry = new FSStructures.PARTITION_INFORMATION_EX[0x16];
    pDriveLayout.PartitionStyle = FSStructures.PARTITION_STYLE.MasterBootRecord;
    pDriveLayout.PartitionCount = 4;
    pDriveLayout.DriveLayoutInformatiton.Mbr.Signature = 0xA4B57300;
    pDriveLayout.PartitionEntry[0] = new FSStructures.PARTITION_INFORMATION_EX();
    pDriveLayout.PartitionEntry[0].PartitionStyle = FSStructures.PARTITION_STYLE.MasterBootRecord;
    pDriveLayout.PartitionEntry[0].Mbr.BootIndicator = true;
    pDriveLayout.PartitionEntry[0].Mbr.RecognizedPartition = true;
    pDriveLayout.PartitionEntry[0].Mbr.PartitionType = 0x0B;
    pDriveLayout.PartitionEntry[0].PartitionNumber = 1;
    pDriveLayout.PartitionEntry[0].StartingOffset = 32256;
    pDriveLayout.PartitionEntry[0].PartitionLength = 3221225472;
    pDriveLayout.PartitionEntry[0].RewritePartition = true;
    pDriveLayout.PartitionEntry[0].Mbr.HiddenSectors = 32256 / 512;
    pDriveLayout.PartitionEntry[1] = new FSStructures.PARTITION_INFORMATION_EX();
    pDriveLayout.PartitionEntry[1].PartitionStyle = FSStructures.PARTITION_STYLE.MasterBootRecord;
    pDriveLayout.PartitionEntry[1].Mbr.BootIndicator = false;
    pDriveLayout.PartitionEntry[1].Mbr.RecognizedPartition = true;
    pDriveLayout.PartitionEntry[1].Mbr.PartitionType = 0x0B;
    pDriveLayout.PartitionEntry[1].PartitionNumber = 2;
    pDriveLayout.PartitionEntry[1].StartingOffset = 32256 + 3221225472;
    pDriveLayout.PartitionEntry[1].PartitionLength = 2147483648; //2147483648;//3221225472;
    pDriveLayout.PartitionEntry[1].RewritePartition = true;
    pDriveLayout.PartitionEntry[1].Mbr.HiddenSectors = 32256 / 512;
    for (int i = 0; i < pDriveLayout.PartitionEntry.Length; i++)
    pDriveLayout.PartitionEntry[i].RewritePartition = true;
    try
    bSuccess = FSStructures.DeviceIoControl(hDisk, FSConstants.IOCTL_DISK_SET_DRIVE_LAYOUT_EX, ref pDriveLayout, PartitionInfomations, default(IntPtr), default(uint), ref dwBytesReturned);
    catch (Exception ex)
    if (bSuccess)
    RetCode = true;
    else { RetCode = false; }
    bSuccess = FSStructures.DeviceIoControl(hDisk, FSConstants.IOCTL_DISK_UPDATE_PROPERTIES, IntPtr.Zero, 0, default(IntPtr), default(uint), ref dwBytesReturned);
    if (bSuccess)
    RetCode = true;
    else { RetCode = false; }
    FINAL:
    // Close the disk handle.
    if (hDisk != null && hDisk != FSConstants.INVALID_HANDLE_VALUE)
    FSStructures.CloseHandle(hDisk);
    catch { return false; }
    return RetCode;
    private static IntPtr OpenVolume(string DeviceName)
    try
    IntPtr hDevice;
    hDevice = FSStructures.CreateFile(
    @"\\.\" + DeviceName,
    FSConstants.GENERIC_EXECUTE | FSConstants.GENERIC_READ | FSConstants.GENERIC_WRITE | FSConstants.FILE_SHARE_READ | FSConstants.FILE_SHARE_WRITE,
    FSConstants.FILE_SHARE_WRITE,
    IntPtr.Zero,
    FSConstants.OPEN_EXISTING,
    0,
    IntPtr.Zero);
    if ((int)hDevice == -1)
    throw new Exception(Marshal.GetLastWin32Error().ToString());
    return hDevice;
    catch { return FSConstants.INVALID_HANDLE_VALUE; }
    internal static class FSConstants
    public const uint FILE_SHARE_READ = 0x00000001;
    public const uint FILE_SHARE_WRITE = 0x00000002;
    public const uint OPEN_EXISTING = 3;
    public const int GENERIC_EXECUTE = 0x10000000;
    public const uint GENERIC_READ = (0x80000000);
    public const uint GENERIC_WRITE = (0x40000000);
    public static IntPtr INVALID_HANDLE_VALUE = new IntPtr(-1);
    public const uint IOCTL_DISK_GET_DRIVE_LAYOUT_EX = 0x00070050;
    public const uint IOCTL_DISK_SET_DRIVE_LAYOUT_EX = 0x7C054;
    public const int IOCTL_DISK_UPDATE_PROPERTIES = 0x70140;
    public const int IOCTL_DISK_DELETE_DRIVE_LAYOUT = 0x0007c010;
    public const int IOCTL_DISK_CREATE_DISK = 0x7C058;
    internal static class FSStructures
    [DllImport("kernel32.dll", EntryPoint = "CreateFile", SetLastError = true)]
    public static extern IntPtr CreateFile(
    string lpFileName,
    uint dwDesiredAccess,
    uint dwShareMode,
    IntPtr lpSecurityAttributes,
    uint dwCreationDisposition,
    uint dwFlagsAndAttributes,
    IntPtr hTemplateFile);
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern int CloseHandle(IntPtr hObject);
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern bool DeviceIoControl(
    IntPtr hDevice,
    uint dwIoControlCode,
    [Optional]ref DRIVE_LAYOUT_INFORMATION_EX lpInBuffer,
    uint nInBufferSize,
    [Optional] [Out] IntPtr lpOutBuffer,
    uint nOutBufferSize,
    [Optional] ref uint lpBytesReturned,
    [Optional] IntPtr lpOverlapped);
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern bool DeviceIoControl(
    IntPtr hDevice,
    uint dwIoControlCode,
    IntPtr lpInBuffer,
    uint nInBufferSize,
    [Optional] [Out] IntPtr lpOutBuffer,
    uint nOutBufferSize,
    [Optional] ref uint lpBytesReturned,
    [Optional] IntPtr lpOverlapped);
    [StructLayout(LayoutKind.Sequential)]
    public struct DRIVE_LAYOUT_INFORMATION_EX
    public PARTITION_STYLE PartitionStyle;
    public int PartitionCount;
    public DRIVE_LAYOUT_INFORMATION_UNION DriveLayoutInformatiton;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = 0x16)]
    public PARTITION_INFORMATION_EX[] PartitionEntry;
    [StructLayout(LayoutKind.Sequential)]
    public struct PARTITION_INFORMATION_EX
    [MarshalAs(UnmanagedType.U4)]
    public PARTITION_STYLE PartitionStyle;
    public long StartingOffset;
    public long PartitionLength;
    public int PartitionNumber;
    public bool RewritePartition;
    public PARTITION_INFORMATION_MBR Mbr;
    public PARTITION_INFORMATION_GPT Gpt;
    [StructLayout(LayoutKind.Sequential)]
    public struct PARTITION_INFORMATION_MBR
    public byte PartitionType;
    [MarshalAs(UnmanagedType.U1)]
    public bool BootIndicator;
    [MarshalAs(UnmanagedType.U1)]
    public bool RecognizedPartition;
    public uint HiddenSectors;
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    public struct PARTITION_INFORMATION_GPT
    public Guid PartitionType;
    public Guid PartitionId;
    [MarshalAs(UnmanagedType.U8)]
    public EFIPartitionAttributes Attributes;
    [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
    public string Name;
    [Flags]
    public enum EFIPartitionAttributes : ulong
    GPT_ATTRIBUTE_PLATFORM_REQUIRED = 0x0000000000000001,
    LegacyBIOSBootable = 0x0000000000000004,
    GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER = 0x8000000000000000,
    GPT_BASIC_DATA_ATTRIBUTE_HIDDEN = 0x4000000000000000,
    GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY = 0x2000000000000000,
    GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY = 0x1000000000000000
    [StructLayout(LayoutKind.Explicit)]
    public struct DRIVE_LAYOUT_INFORMATION_UNION
    [FieldOffset(0)]
    public DRIVE_LAYOUT_INFORMATION_MBR Mbr;
    [FieldOffset(0)]
    public DRIVE_LAYOUT_INFORMATION_GPT Gpt;
    [StructLayout(LayoutKind.Sequential)]
    public struct DRIVE_LAYOUT_INFORMATION_GPT
    public Guid DiskId;
    public long StartingUsableOffset;
    public long UsableLength;
    public int MaxPartitionCount;
    [StructLayout(LayoutKind.Sequential)]
    public struct DRIVE_LAYOUT_INFORMATION_MBR
    public uint Signature;
    public enum PARTITION_STYLE : int
    MasterBootRecord = 0,
    GuidPartitionTable = 1,
    Raw = 2

    Hello,
    in the links below you can found many informations to help you:
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa365730(v=vs.85).aspx
    http://www.codeproject.com/Articles/696388/Recover-Data-From-Corrupted-Drives-File-Systems-FA
    http://www.functionx.com/vcsharp/fileprocessing/drives.htm
    http://forums.codeguru.com/showthread.php?548305-partitioning-USB-Falsh-drive
    http://forums.codeguru.com/showthread.php?548169-USB-Flash-drive-Partitioning

  • How to make more than one partition on Airport Time Capsule?

    how to make more than one partition on Airport Time Capsule?

    Only for the very brave......
    Open up the Time Capsule (voids the warranty)
    Pull the hard drive
    Place the hard drive in a separate enclosure
    Connect the enclosure directly to your Mac
    Use Disk Utility to partition the hard drive
    Reinstall the hard drive back in the Time Capsule
    For the rest of us.....
    The next best thing might be to set up one or more disk images on the Time Capsule, which will allow you reserve a given amount of space for each disk image.
    Open up Macintosh HD > Applications > Utilities > Disk Utility
    Click on the New Image tab
    Navigate to the Time Capsule
    Set up the disk image by naming it and specifying how much space you want to reserve

  • I can't delete a more than 10 bookmarks at a time, I can't delete bookmarks folder

    Firefox 25, Mac 10.8
    If I try to delete more than 10 bookmarks at a time or a folder with bookmarks in it, FF hangs, then says there's a script that isn't running properly & do I want to continue or stop the script - I've tried continuing but it just hangs again, and I've tried stopping the script but it still hangs..
    I've restarted FF, turned off Sync, turned on Sync.
    I tried exporting my bookmarks to html, to edit them in a file then re-import them, but the file was incomplete - it did not contain all the folder in My Bookmarks.
    Deleting bookmarks has been a pain ever since Sync was introduced, and Firefox doesn't have an official iOS app and the 3rd party ones don't work consistently, so I don't get much use from sync

    I'm sorry, I wasn't clear in stating my problem.
    I understand how to delete both bookmarks and folders containing bookmarks according to the instructions, and have done so easily in the past.
    But, since update to FF25 I haven't been able to delete a folder with bookmarks in it or more than 10-12 bookmarks at a time.
    I resolved the issue by quitting FF, importing my bookmarks into Chrome, using Chrome's import as FF also was not exporting a complete bookmark list. I cleared out some duplicates in Chrome, exported bookmarks from Chrome to an html file, removed the places sqlite file from my profile, deleted all FF bookmarks, and imported the bookmarks html file into FF, which created a new & functional places sqlite file with the same set of bookmarks as at the beginning. I can only think the places file was corrupted somehow during the update as that was the only file I had to delete to fix the issue - I can now move & delete folders with hundreds of bookmarks in them and delete as many bookmarks as needed at one time.
    "There is no way to select more than one item at a time in the right pane in the mac environnement. " (sic)
    I think you mean there is no way to delete more than 1 item at a time in the LEFT panel, the list of folders, not in the right panel, the list of bookmarks and the contents (bookmarks) of subfolders.

  • Install more than one exe into one folder or into some subfolders of the same folder

    Hi!
    I want to do at least one of the following:
    1. I want to install several exes (built with LV app builder) into one directory because they belong together.
    2. Make several subfolders under the same top level folder aand install exes into each of them.
    The (top level) folder should be the "company" folder. The subfolders are for the applications.
    For example:
    c:\company\app1\app1.exe
    c:\company\app1\app1setup.exe
    c:\company\app2\app2.exe
    etc.
    This may also reside under the "program files" folder.
    If i try to do so, i encounter some problems setting up the build specifications. If i have more than one build spec. for exes i cannot add them to the same folder. At least if they contain the same external files, e.g. dlls.
    If i try to make one installer per exe, i get an error message telling me that the same folder (my "top level folder") already exists in the registry and cannot be added a second time. This is also true if i try to make a new project instead of having several installer build specs in one project.
    I use Labview 2009 (engl.) under Windows Vista (german).
    If anyone has some help for me or encounters similar problems please let me know.
    Holger
    Message Edited by HolgerD on 09-26-2009 10:13 AM
    Solved!
    Go to Solution.

    Hi Holger,
    the build directories should be different for each build, but you can copy the executables into one folder manually (tested successfully in WinXP). For multiple installers, put each installer build in a separate directory, and install all to the same program files subfolder. Works with XP (tested!), so this must be a Vista issue...
    Please build the four specs in attached project and run both installers to the same directory - should be working...
    Best regards,
    Sebastian
    Attachments:
    calc.dll.zip ‏73 KB

  • In my folder "Pictures" - the same picture figure more than once

    When I move pictures from my iPhone to Iphoto my MacBook Pro, I get this problem....
    My photos below Finder - > Pictures , appears twice and sometimes more than twice. This also happens to my pictures from music albums. It's annoying , since I now have 15,000 pictures under "Pictures" even though I only have 2,500 pictures stored in iPhoto.
    It seems like for every face that appears on the photo, it creates a new copy/picture.
    I have recently bought a new MacBook Pro, and the same happens the new MacBook
    Anybody who can help me???
    Best Regard
    Meikey1234

    Your son is looking at the "All my Files" view and not directly at the Pictures folder. "Billeder" in "All My Files" means all image files, not the folder "Billeder". It will show all photos on his mac, not only the the ones in the "Pictures" folder.
    He should not use that view. It will reveal files inside library packages and is dangerous.
    My "All MY Files" is showing something similar. It is showing any image file that is somewhere on the Mac.
    He should access the Picture Folder from the Finder's Sidebar by clicking the Pictures icon.
    If the Pictures folder is missing from the sidebar, enable it in the Finder Preferences. Click somewhere on the empty desktop to bring the Finder forward and open the Preferences from the Finder menu.

Maybe you are looking for