atus.innerHTML = "<%:Please select file system!%>"
      return
    }
    status.innerHTML = "<%:Formatting..%>"
    let b = document.getElementById('btn_format')
    b.disabled = true
    let xhr = new XHR()
    xhr.post('<%=luci.dispatcher.build_url("admin/system/diskman/format_partition")%>', { partation_name: partation_name, file_system: fs }, (x, res) => {
      if (x.status == 200) {
        status.innerHTML = x.statusText
        location.reload();
      }else{
        status.innerHTML = x.statusText